-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Mistake in Read<T> and ReadRelative<T>. Patch to fix attached.
Index: Common/Objects/ObjectManager.cs
===================================================================
--- Common/Objects/ObjectManager.cs (revision 58)
+++ Common/Objects/ObjectManager.cs (working copy)
@@ -236,7 +236,7 @@
ret = Memory.ReadUInt64(MakeAbsolute(address));
break;
case TypeCode.Single:
- ret = Memory.ReadShort(MakeAbsolute(address));
+ ret = Memory.ReadFloat(MakeAbsolute(address));
break;
case TypeCode.Byte:
ret = Memory.ReadByte(MakeAbsolute(address));
@@ -288,7 +288,7 @@
ret = Memory.ReadUInt64(address);
break;
case TypeCode.Single:
- ret = Memory.ReadShort(address);
+ ret = Memory.ReadFloat(address);
break;
case TypeCode.Byte:
ret = Memory.ReadByte(address);
Original issue reported on code.google.com by smremde on 29 Dec 2010 at 10:45
Attachments: