mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
Always hide crosshair when dead
Previously, the crosshair would show up during the death animation if Always Show Target is enabled or if aiming just before dying.
This commit is contained in:
1 file changed
+7
@@ -1536,6 +1536,13 @@ Gfx *sightDraw(Gfx *gdl, bool sighton, s32 sight)
|
||||
sight = SIGHT_DEFAULT;
|
||||
}
|
||||
|
||||
#ifndef PLATFORM_N64
|
||||
if (g_Vars.currentplayer->bondhealth <= 0.0f) {
|
||||
// Hide crosshair during death animation
|
||||
sight = SIGHT_NONE;
|
||||
}
|
||||
#endif
|
||||
|
||||
sightTick(sighton);
|
||||
|
||||
switch (sight) {
|
||||
|
||||
Reference in new issue
Block a user