summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-19 21:58:00 +0200
committeraap <aap@papnet.eu>2020-08-19 21:58:00 +0200
commitbb948904b69d6a4c49c0a0fadd69e867292b1d9e (patch)
tree66e383231e7524830f39a475b40c662657e186e1 /src/vehicles
parentupdate librw (diff)
downloadre3-bb948904b69d6a4c49c0a0fadd69e867292b1d9e.tar
re3-bb948904b69d6a4c49c0a0fadd69e867292b1d9e.tar.gz
re3-bb948904b69d6a4c49c0a0fadd69e867292b1d9e.tar.bz2
re3-bb948904b69d6a4c49c0a0fadd69e867292b1d9e.tar.lz
re3-bb948904b69d6a4c49c0a0fadd69e867292b1d9e.tar.xz
re3-bb948904b69d6a4c49c0a0fadd69e867292b1d9e.tar.zst
re3-bb948904b69d6a4c49c0a0fadd69e867292b1d9e.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Bike.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/vehicles/Bike.cpp b/src/vehicles/Bike.cpp
index c32e72bc..760a8ec6 100644
--- a/src/vehicles/Bike.cpp
+++ b/src/vehicles/Bike.cpp
@@ -1448,16 +1448,13 @@ CBike::PreRender(void)
fwd.Normalise();
float f = headLightPos.y + 6.0f;
pos += CVector(f*fwd.x, f*fwd.y, 2.0f);
-
-// TODO(MIAMI):
-// CShadows::StoreCarLightShadow(this, (uintptr)this + 22, gpShadowExplosionTex, &pos,
-// 7.0f*fwd.x, 7.0f*fwd.y, 3.5f*fwd.y, -3.5f*fwd.x, 45, 45, 45, 7.0f);
+ CShadows::StoreCarLightShadow(this, (uintptr)this + 22, gpShadowExplosionTex, &pos,
+ 7.0f*fwd.x, 7.0f*fwd.y, 3.5f*fwd.y, -3.5f*fwd.x, 45, 45, 45, 7.0f);
f = (tailLightPos.y - 2.5f) - (headLightPos.y + 6.0f);
pos += CVector(f*fwd.x, f*fwd.y, 0.0f);
-// TODO(MIAMI):
-// CShadows::StoreCarLightShadow(this, (uintptr)this + 25, gpShadowExplosionTex, &pos,
-// 3.0f, 0.0f, 0.0f, -3.0f, 35, 0, 0, 4.0f);
+ CShadows::StoreCarLightShadow(this, (uintptr)this + 25, gpShadowExplosionTex, &pos,
+ 3.0f, 0.0f, 0.0f, -3.0f, 35, 0, 0, 4.0f);
}
if(this == FindPlayerVehicle() && !alarmOff){