Fix a bunch of CModelInfo::GetModelInfo->GetColModel calls
This commit is contained in:
@@ -3073,7 +3073,7 @@ int8 CRunningScript::ProcessCommands200To299(int32 command)
|
||||
CTheScripts::ReadTextLabelFromScript(&m_nIp, label);
|
||||
int zoneToCheck = CTheZones::FindZoneByLabelAndReturnIndex(label, ZONE_DEFAULT);
|
||||
if (zoneToCheck != -1)
|
||||
m_nIp += KEY_LENGTH_IN_SCRIPT; /* why only if zone != 1? */
|
||||
m_nIp += KEY_LENGTH_IN_SCRIPT; /* why only if zone != -1? */
|
||||
CVector pos = pPlayer->GetPos();
|
||||
CZone* pZone = CTheZones::GetNavigationZone(zoneToCheck);
|
||||
UpdateCompareFlag(CTheZones::PointLiesWithinZone(&pos, pZone));
|
||||
|
||||
Reference in New Issue
Block a user