1
0
Fork 0
forked from fte/fteqw

Stripped some prints.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3046 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-10-16 22:02:39 +00:00
parent baff3de5af
commit e7aa21bf29

View file

@ -365,7 +365,6 @@ void() RemovePlayer =
{ {
if (self.haddied) if (self.haddied)
{ {
print("removeressed\n");
JustRessed(); JustRessed();
self.haddied = false; self.haddied = false;
} }
@ -405,7 +404,6 @@ void(float isnew) RefreshPlayer =
if (isnew) if (isnew)
{ {
print("new player!\n");
if (self.entnum == player_localentnum) if (self.entnum == player_localentnum)
{ {
player_local = self; player_local = self;
@ -422,28 +420,12 @@ print("new player!\n");
newskin = cvar_string("cg_forceskin"); newskin = cvar_string("cg_forceskin");
if (newskin == "") if (newskin == "")
newskin = getplayerkeyvalue(self.entnum-1, "skin"); newskin = getplayerkeyvalue(self.entnum-1, "skin");
/* if (newskin == "")
{
if (self.oldskin != "")
newskin = strcat(self.oldskin);
else if (random() < 0.33)
newskin = "angelyss/neko";
else if (random() < 0.5)
newskin = "arachna/red";
else
newskin = "ayumi/jenna";
}
*/
if (newskin != self.oldskin) if (newskin != self.oldskin)
{ {
print("changing to new model\n");
strunzone(self.oldskin); strunzone(self.oldskin);
self.oldskin = strzone(newskin); self.oldskin = strzone(newskin);
if (!Anim_SetModel(self.oldskin)) if (!Anim_SetModel(self.oldskin))
{ { Anim_UnsetModel();
if (self.oldskin!="")
print("couldn't set skin\n");
Anim_UnsetModel();
} }
/* /*
switch(Anim_GetGender()) switch(Anim_GetGender())