]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compile errors
authorMario <mario.mario@y7mail.com>
Mon, 22 Apr 2013 08:10:28 +0000 (18:10 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 22 Apr 2013 08:10:28 +0000 (18:10 +1000)
qcsrc/server/mutators/gamemode_towerdefense.qc

index f9a1d0cfaf0833351fe52a74b89486e5721eb0ee..262c2c53f4db9032be31ba5c9a0cea87f7691ae4 100644 (file)
@@ -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;