Do not check for Zones::Version

This commit is contained in:
rackover 2021-07-02 11:49:24 +02:00
parent daeaf2e952
commit d563379ab8

View File

@ -3482,12 +3482,10 @@ namespace Components
char* Zones::ParseShellShock_Stub(const char** data_p)
{
auto token = Game::Com_Parse(data_p);
if (Zones::Version() >= VERSION_LATEST_CODO) {
if (shellshock_replace_list.find(token) != shellshock_replace_list.end())
{
return shellshock_replace_list[token].data();
}
}
return token;
}