Replaced objlist_class with std::vector.
Fixed minor bug in TLightGroup. Cleaned up some warnings.
This commit is contained in:
1 parent
8a421a2623
commit
81c2034a16
54 files changed
+249
-453
No files matched your search
@@ -87,7 +87,7 @@ void loader::loadfrom(DatFile* datFile)
|
||||
loader_table = datFile;
|
||||
sound_record_table = loader_table;
|
||||
|
||||
for (auto groupIndex = 0; groupIndex < datFile->Groups.size(); ++groupIndex)
|
||||
for (auto groupIndex = 0; groupIndex < static_cast<int>(datFile->Groups.size()); ++groupIndex)
|
||||
{
|
||||
auto value = reinterpret_cast<int16_t*>(datFile->field(groupIndex, FieldTypes::ShortValue));
|
||||
if (value && *value == 202)
|
||||
|
||||
Reference in new issue
Block a user