From 3bf403655ac34728ff784c3a3c6a4167a4041262 Mon Sep 17 00:00:00 2001 From: MotoLegacy Date: Sun, 8 Dec 2024 21:47:46 -0800 Subject: [PATCH] CLIENT: build fix --- source/client/main.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/client/main.qc b/source/client/main.qc index ada639b..6eb8786 100644 --- a/source/client/main.qc +++ b/source/client/main.qc @@ -1119,9 +1119,9 @@ noref void() CSQC_Parse_Event = break; case EVENT_REVIVEON: float reviveon_player_index = readbyte() - 1; // playernum starts at one. - if (reviveoff_player_index < 0) + if (reviveon_player_index < 0) return; - + revive_icons[reviveon_player_index].state = 1; revive_icons[reviveon_player_index].draw = true; break;