1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-14 17:14:29 +02:00

fix warnings

This commit is contained in:
XProger
2018-08-25 09:22:16 +03:00
parent 509137eaa2
commit 877fef4dd6

View File

@@ -371,8 +371,8 @@ struct AmbientCache {
int oz = sz + sign(z - sz) * 1024;
float tx, tz;
tx = fabsf(x - sx) / 1024.0f;
tz = fabsf(z - sz) / 1024.0f;
tx = abs(x - sx) / 1024.0f;
tz = abs(z - sz) / 1024.0f;
cx = getAmbient(room, ox, sz);
cz = getAmbient(room, sx, oz);