Skip to content

Commit e952719

Browse files
authored
Fix RaceSession::Field0x2098::FUN_00460d10 (isledecomp#495)
1 parent 6e30e94 commit e952719

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

LEGORacers/src/race/racesessionfield0x2098.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,12 +1710,12 @@ void RaceSession::Field0x2098::FUN_00460d10(GolFileParser* p_parser)
17101710
GolName name;
17111711
for (token = p_parser->GetNextToken(); token != GolFileParser::e_rightCurly; token = p_parser->GetNextToken()) {
17121712
switch (token) {
1713-
case GolFileParser::e_unknown0x33:
1713+
case GolFileParser::e_unknown0x4a:
17141714
::strncpy(name, p_parser->ReadStringWithMaxLength(sizeof(name)), sizeof(name));
17151715

17161716
params.m_unk0x14 = field->m_unk0x08->FindUnk0xd8(name);
17171717
break;
1718-
case GolFileParser::e_unknown0x4a:
1718+
case GolFileParser::e_unknown0x33:
17191719
::strncpy(name, p_parser->ReadStringWithMaxLength(sizeof(name)), sizeof(name));
17201720

17211721
params.m_unk0x18 = field->m_unk0x00->FindUnk0xc0(name);

0 commit comments

Comments
 (0)