Browse Source

type 7 added so it will display as float instead of sint16

Image 2 years ago
parent
commit
d05d851f06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/common/PacketStruct.cpp

+ 1 - 1
EQ2/source/common/PacketStruct.cpp

@@ -1299,7 +1299,7 @@ bool PacketStruct::LoadPacketData(uchar* data, int32 data_len) {
 				DataStruct* data_struct2 = findStruct(name, 0);
 				type = getType_int16(data_struct2);
 				// If stat_type == 6 we use a float, else we use sint16
-				if (type != 6)
+				if (type != 6 && type != 7)
 					useType2 = true;
 				safe_delete(varnames);
 			}