mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 08:08:58 +00:00
fixed traffic light position
This commit is contained in:
parent
df872a26b0
commit
3c999a1eb8
1 changed files with 2 additions and 2 deletions
|
@ -40,9 +40,9 @@ CTrafficLights::DisplayActualLight(CEntity *ent)
|
|||
for(i = 1; i < 6; i++){
|
||||
assert(mi->Get2dEffect(i));
|
||||
yMin = min(yMin, mi->Get2dEffect(i)->pos.y);
|
||||
yMax = min(yMax, mi->Get2dEffect(i)->pos.y);
|
||||
yMax = max(yMax, mi->Get2dEffect(i)->pos.y);
|
||||
zMin = min(zMin, mi->Get2dEffect(i)->pos.z);
|
||||
zMax = min(zMax, mi->Get2dEffect(i)->pos.z);
|
||||
zMax = max(zMax, mi->Get2dEffect(i)->pos.z);
|
||||
}
|
||||
|
||||
CVector pos1, pos2;
|
||||
|
|
Loading…
Reference in a new issue