Cleaned up objlist_class.
This commit is contained in:
1 parent
5b9a1ff95d
commit
6ff457eb68
42 files changed
+276
-340
No files matched your search
@@ -436,7 +436,7 @@ int loader::query_visual(int groupIndex, int groupIndexOffset, visualStruct* vis
|
||||
if (*floatArr != 600.0)
|
||||
return 0;
|
||||
|
||||
visual->FloatArrCount = (partman::field_size(loader_table, stateId, datFieldTypes::FloatArray) / 4) / 2 - 2;
|
||||
visual->FloatArrCount = partman::field_size(loader_table, stateId, datFieldTypes::FloatArray) / 4 / 2 - 2;
|
||||
auto floatVal = static_cast<int>(floor(floatArr[1]) - 1.0);
|
||||
switch (floatVal)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user