Merge pull request #372 from Calinou/crosshair-hide-when-dead

Always hide crosshair when dead
This commit is contained in:
fgsfds authored and GitHub committed 2024-01-28 18:37:50 +01:00
commit cc6df47eed
1 file changed
+7
+7
View File
@@ -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) {