]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Move warning prints to dprints
authorMario <mario.mario@y7mail.com>
Thu, 7 Mar 2013 00:41:30 +0000 (11:41 +1100)
committerMario <mario.mario@y7mail.com>
Thu, 7 Mar 2013 00:41:30 +0000 (11:41 +1100)
qcsrc/server/mutators/gamemode_td.qc

index f252001ecb03de7c9ccd5e59c91ca15fed9cadc6..2f962d799787070c348dc46c7d6d3933b694e59a 100644 (file)
@@ -163,7 +163,7 @@ void spawnfunc_monster_swarm()
        WaypointSprite_SpawnFixed("Monsters", self.origin + '0 0 60', self, sprite, RADARICON_HERE, '0 0 1');
        
        if(self.target == "")
-               print("Warning: monster_swarm entity without a set target\n");
+               dprint("Warning: monster_swarm entity without a set target\n");
 }
 
 void barricade_touch()
@@ -238,7 +238,7 @@ void spawnturret(entity spawnedby, entity own, string turet, vector orig)
 {
        if(spawnedby.classname != STR_PLAYER)
        {
-               print("Warning: A non-player entity tried to spawn a turret\n");
+               dprint("Warning: A non-player entity tried to spawn a turret\n");
                return;
        }
                
@@ -319,7 +319,7 @@ void TD_SpawnMonster(string mnster, float strngth, float type)
                
        if(e == world)
        {
-               print("Warning: couldn't find any monster_swarm spawnpoints, no monsters will spawn!\n");
+               dprint("Warning: couldn't find any monster_swarm spawnpoints, no monsters will spawn!\n");
                return;
        }