Skip to content

Commit

Permalink
Fix reading pointer as 64 bit
Browse files Browse the repository at this point in the history
  • Loading branch information
fatalis committed Sep 10, 2015
1 parent 7c68bab commit fcac643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public IntPtr GetEntityByName(string name)
continue;

IntPtr namePtr;
this.GameProcess.ReadValue(info.EntityPtr + this.GameOffsets.BaseEntityTargetNameOffset, out namePtr);
this.GameProcess.ReadPointer(info.EntityPtr + this.GameOffsets.BaseEntityTargetNameOffset, false, out namePtr);
if (namePtr == IntPtr.Zero)
continue;

Expand Down

0 comments on commit fcac643

Please sign in to comment.