Skip to content

Commit 960ba31

Browse files
committed
Warning go away
1 parent 8756237 commit 960ba31

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

csqc/status.qc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,8 @@ void(PanelID panelid, string text) drawNotificationPanel = {
612612
alert_text_position.y = ScreenSize.y / 3;
613613
alert_text_position.x = (ScreenSize.x / 2) - (size.x / 2);
614614

615-
local string flag_team_str;
616-
local vector menu_text_color;
615+
local string flag_team_str = "the";
616+
local vector menu_text_color = MENU_TEXT_4;
617617

618618
switch(flag_team) {
619619
case 1:
@@ -632,10 +632,6 @@ void(PanelID panelid, string text) drawNotificationPanel = {
632632
flag_team_str = "green's";
633633
menu_text_color = MENU_TEXT_GREEN_FO;
634634
break;
635-
default:
636-
flag_team_str = "the";
637-
menu_text_color = MENU_TEXT_4;
638-
break;
639635
}
640636

641637
local string alert_text_message = sprintf("You got %s flag!", flag_team_str);

0 commit comments

Comments
 (0)