X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fannouncer.qc;h=62b732bec25034e773801113d86aa9f268bfcbf4;hb=e87123e5fba23f7a8907e6fbab241c5eec5be168;hp=0a0959b87ae09bb088725c13a4a8c970a5876264;hpb=df2fe9b28cb6210b671bec6d5ae834ff4eb2e2db;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/announcer.qc b/qcsrc/client/announcer.qc index 0a0959b87..62b732bec 100644 --- a/qcsrc/client/announcer.qc +++ b/qcsrc/client/announcer.qc @@ -24,7 +24,7 @@ void Announcer_Countdown(entity this) if(roundstarttime == -1) { Local_Notification(MSG_CENTER, CENTER_COUNTDOWN_ROUNDSTOP); - remove(this); + delete(this); announcer_countdown = NULL; return; } @@ -40,7 +40,7 @@ void Announcer_Countdown(entity this) { Local_Notification(MSG_CENTER, CENTER_COUNTDOWN_BEGIN); Local_Notification(MSG_MULTI, MULTI_COUNTDOWN_BEGIN); - remove(this); + delete(this); announcer_countdown = NULL; return; } @@ -58,7 +58,7 @@ void Announcer_Countdown(entity this) { Local_Notification(MSG_CENTER, CENTER_COUNTDOWN_GAMESTART, countdown_rounded); Notification annce_num = Announcer_PickNumber(CNT_GAMESTART, countdown_rounded); - if(annce_num != NULL) + if(annce_num != NULL) Local_Notification(MSG_ANNCE, annce_num); } @@ -87,7 +87,7 @@ void Announcer_Gamestart() centerprint_kill(ORDINAL(CPID_ROUND)); if(announcer_countdown) { - remove(announcer_countdown); + delete(announcer_countdown); announcer_countdown = NULL; } }