mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 08:11:49 +01:00
fixed traffic light position
This commit is contained in:
parent
df872a26b0
commit
3c999a1eb8
@ -40,9 +40,9 @@ CTrafficLights::DisplayActualLight(CEntity *ent)
|
|||||||
for(i = 1; i < 6; i++){
|
for(i = 1; i < 6; i++){
|
||||||
assert(mi->Get2dEffect(i));
|
assert(mi->Get2dEffect(i));
|
||||||
yMin = min(yMin, mi->Get2dEffect(i)->pos.y);
|
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);
|
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;
|
CVector pos1, pos2;
|
||||||
|
Loading…
Reference in New Issue
Block a user