mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 06:43:01 +05:00
Use strcmp to compare script names like R* does
This commit is contained in:
parent
2614f4d1b0
commit
a0fd40d44d
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ int32_t* CRunningScript::GetDay_GymGlitch()
|
||||||
{
|
{
|
||||||
static int32_t Out[2];
|
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<int**>(0x55C0D8, 0x55C578, 0x574F24);
|
static int* const StatTypesInt = *AddressByVersion<int**>(0x55C0D8, 0x55C578, 0x574F24);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue