mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-11-05 10:40:17 +01:00
Replaced objlist_class with std::vector.
Fixed minor bug in TLightGroup. Cleaned up some warnings.
This commit is contained in:
parent
8a421a2623
commit
81c2034a16
54 changed files with 249 additions and 453 deletions
|
|
@ -247,8 +247,8 @@ int DatFile::record_labeled(LPCSTR targetGroupName)
|
|||
if (!groupName)
|
||||
continue;
|
||||
|
||||
int index;
|
||||
for (index = 0; index < targetLength; index++)
|
||||
auto index = 0u;
|
||||
for (; index < targetLength; index++)
|
||||
if (targetGroupName[index] != groupName[index])
|
||||
break;
|
||||
if (index == targetLength && !targetGroupName[index] && !groupName[index])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue