mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: fix bug causing level assets to not load properly
The level has changed when strcmp returns a non-null value.
This commit is contained in:
parent
ab5e009f8b
commit
d22800b43b
@ -111,7 +111,7 @@ void CustomPakData_t::UnloadBasePak(const EPakType type)
|
||||
//-----------------------------------------------------------------------------
|
||||
bool Mod_LevelHasChanged(const char* const pszLevelName)
|
||||
{
|
||||
return (V_strcmp(pszLevelName, s_CurrentLevelName.String()) == NULL);
|
||||
return (V_strcmp(pszLevelName, s_CurrentLevelName.String()) != NULL);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user