|
@@ -1389,7 +1389,8 @@ bool PacketStruct::StructLoadData(DataStruct* data_struct, void* data, int32 len
|
|
break;
|
|
break;
|
|
case DATA_STRUCT_CHAR:
|
|
case DATA_STRUCT_CHAR:
|
|
LoadData((char*)data, len);
|
|
LoadData((char*)data, len);
|
|
- data_struct->SetIsSet(data > 0);
|
|
|
|
|
|
+ data_struct->SetIsSet(*((sint64*)data) > 0);
|
|
|
|
+//data > 0);
|
|
break;
|
|
break;
|
|
case DATA_STRUCT_FLOAT:
|
|
case DATA_STRUCT_FLOAT:
|
|
LoadData((float*)data, len);
|
|
LoadData((float*)data, len);
|