diff --git a/SilentPatchSA/ScriptSA.cpp b/SilentPatchSA/ScriptSA.cpp index e6bba4c..796af87 100644 --- a/SilentPatchSA/ScriptSA.cpp +++ b/SilentPatchSA/ScriptSA.cpp @@ -5,7 +5,7 @@ int32_t* CRunningScript::GetDay_GymGlitch() { static int32_t Out[2]; - if ( strncmp(Name, "gymbike", 8) == 0 || strncmp(Name, "gymbenc", 8) == 0 || strncmp(Name, "gymtrea", 8) == 0 || strncmp(Name, "gymdumb", 8) == 0 ) + if ( strcmp(Name, "gymbike") == 0 || strcmp(Name, "gymbenc") == 0 || strcmp(Name, "gymtrea") == 0 || strcmp(Name, "gymdumb") == 0 ) { static int* const StatTypesInt = *AddressByVersion(0x55C0D8, 0x55C578, 0x574F24);