]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update debug print
authorSamual Lenks <samual@xonotic.org>
Mon, 29 Apr 2013 22:19:02 +0000 (18:19 -0400)
committerSamual Lenks <samual@xonotic.org>
Mon, 29 Apr 2013 22:19:02 +0000 (18:19 -0400)
qcsrc/client/Main.qc

index 9843033a1df20e49011c8852d22fb5fbd3ed1f14..f23b5bc0b8b2ea0af43c561cf03349ebf13c4d14 100644 (file)
@@ -708,7 +708,7 @@ void Ent_ReadSpawnPoint(float is_new)
        self.origin_y = ReadShort();
        self.origin_z = ReadShort();
 
-       //self.colormod = colormapPaletteColor(self.team - 1, FALSE);
+       self.colormod = '200 0 0'; //colormapPaletteColor(self.team - 1, FALSE);
 
        //setsize(self, PL_MIN, PL_MAX);
 
@@ -721,7 +721,7 @@ void Ent_ReadSpawnPoint(float is_new)
        self.movetype = MOVETYPE_NOCLIP;
        self.draw = Spawn_Draw;
 
-       print(ftos(is_new), " - read a spawnpoint at ", vtos(self.origin), ", bitches.\n");
+       print(sprintf("Ent_ReadSpawnPoint(is_new = %d); origin = %s, team = %d (%s)\n", is_new, vtos(self.origin), self.team, "foobar"));
 }
 
 // CSQC_Ent_Update : Called every frame that the server has indicated an update to the SSQC / CSQC entity has occured.