From: Mario Date: Mon, 22 Apr 2013 08:10:28 +0000 (+1000) Subject: Fix compile errors X-Git-Tag: xonotic-v0.8.0~241^2^2~326 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bc46bc6c3d2002e2095762639bac4f66282a9882;p=xonotic%2Fxonotic-data.pk3dir.git Fix compile errors --- diff --git a/qcsrc/server/mutators/gamemode_towerdefense.qc b/qcsrc/server/mutators/gamemode_towerdefense.qc index f9a1d0cfa..262c2c53f 100644 --- a/qcsrc/server/mutators/gamemode_towerdefense.qc +++ b/qcsrc/server/mutators/gamemode_towerdefense.qc @@ -519,16 +519,16 @@ void combat_phase_announce() // TODO: clean up these fail nextthinks... cphase_updates += 1; if(cphase_updates == 0) - Announce("prepareforbattle"); + Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_PREPARE); else if(cphase_updates == 3) - Announce("3"); + Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_NUM_3); else if(cphase_updates == 4) - Announce("2"); + Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_NUM_2); else if(cphase_updates == 5) - Announce("1"); + Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_NUM_1); else if(cphase_updates == 6) { - Announce("begin"); + Send_Notification(NOTIF_ALL, world, MSG_ANNCE, ANNCE_BEGIN); combat_phase_begin(); } @@ -548,9 +548,6 @@ void build_phase() for(head = world;(head = findflags(head, flags, FL_GENERATOR)); ) { - if(head.health <= 15 && head.max_health > 100) - Announce("lastsecond"); - if(head.health < head.max_health) { gen_washealed = TRUE;