mirror of
https://github.com/td512/re3.git
synced 2026-02-05 14:24:35 +00:00
miscellaneous, mostly world related
This commit is contained in:
@@ -72,7 +72,6 @@ void
|
||||
CCullZones::Update(void)
|
||||
{
|
||||
bool invisible;
|
||||
CVector v;
|
||||
|
||||
if(bCullZonesDisabled)
|
||||
return;
|
||||
@@ -96,7 +95,7 @@ CCullZones::Update(void)
|
||||
|
||||
case 6:
|
||||
/* Update player attributes */
|
||||
CurrentFlags_Player = FindAttributesForCoors(FindPlayerCoors(v),
|
||||
CurrentFlags_Player = FindAttributesForCoors(FindPlayerCoors(),
|
||||
&CurrentWantedLevelDrop_Player);
|
||||
break;
|
||||
}
|
||||
@@ -153,7 +152,7 @@ CCullZones::FindZoneWithStairsAttributeForPlayer(void)
|
||||
int i;
|
||||
CVector coors;
|
||||
|
||||
FindPlayerCoors(coors);
|
||||
coors = FindPlayerCoors();
|
||||
for(i = 0; i < NumAttributeZones; i++)
|
||||
if(aAttributeZones[i].attributes & ATTRZONE_STAIRS &&
|
||||
coors.x >= aAttributeZones[i].minx && coors.x <= aAttributeZones[i].maxx &&
|
||||
|
||||
Reference in New Issue
Block a user