1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Added #2783 files to Xcode

This commit is contained in:
LRFLEW
2016-01-22 15:57:50 -07:00
parent 1277c1a0d2
commit cfc3ec552c
2 changed files with 9 additions and 5 deletions

View File

@@ -2063,7 +2063,7 @@ void game_command_modify_groups(int *eax, int *ebx, int *ecx, int *edx, int *esi
}break;
case 3:{ // set group name
size_t nameChunkOffset = nameChunkIndex - 1;
if (nameChunkOffset < 0)
if (nameChunkIndex == 0)
nameChunkOffset = 2;
nameChunkOffset *= 12;
nameChunkOffset = (std::min)(nameChunkOffset, Util::CountOf(newName) - 12);