1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 15:50:00 +00:00

fixed traffic light position

This commit is contained in:
aap 2020-04-11 19:33:39 +02:00
parent df872a26b0
commit 3c999a1eb8

View file

@ -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;