From bc46bc6c3d2002e2095762639bac4f66282a9882 Mon Sep 17 00:00:00 2001
From: Mario <mario.mario@y7mail.com>
Date: Mon, 22 Apr 2013 18:10:28 +1000
Subject: [PATCH] Fix compile errors

---
 qcsrc/server/mutators/gamemode_towerdefense.qc | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/qcsrc/server/mutators/gamemode_towerdefense.qc b/qcsrc/server/mutators/gamemode_towerdefense.qc
index f9a1d0cfaf..262c2c53f4 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;
-- 
2.39.5