Update reader.cpp

This commit is contained in:
IMXNOOBX
2025-07-13 21:25:36 +02:00
committed by GitHub
parent 40e9b014b4
commit c9aa3ec7b6
+1 -1
View File
@@ -148,7 +148,7 @@ void CGame::loop() {
uintptr_t controllerListSegment = process->read<uintptr_t>(entity_list + 0x8 * segment + 0x10); uintptr_t controllerListSegment = process->read<uintptr_t>(entity_list + 0x8 * segment + 0x10);
uintptr_t controller = process->read<uintptr_t>(controllerListSegment + 120 * entry); uintptr_t controller = process->read<uintptr_t>(controllerListSegment + 120 * entry);
if (!controller || controller > 0x7FFFFFFFFFFF) if (!controller)
continue; continue;
// Read player name from the controller // Read player name from the controller