Fix match error

This commit is contained in:
jonschz 2024-11-10 22:51:19 +01:00
parent 05345cbe79
commit c8ed785617

View File

@ -662,7 +662,7 @@ MxBool LegoCarBuildAnimPresenter::StringEndsOnY(const LegoChar* p_string)
// FUNCTION: BETA10 0x1007280e // FUNCTION: BETA10 0x1007280e
MxBool LegoCarBuildAnimPresenter::StringEndsOnZero(const LegoChar* p_string) MxBool LegoCarBuildAnimPresenter::StringEndsOnZero(const LegoChar* p_string)
{ {
return (p_string[strlen(p_string) - 2] != '0'); return (p_string[strlen(p_string) - 1] != '0');
} }
// FUNCTION: LEGO1 0x10079d60 // FUNCTION: LEGO1 0x10079d60