*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@283 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-04-27 18:07:39 +00:00
parent 12c9700f61
commit 57a35e0872
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ void ctf_team(char *name)
};
void newname(char *name) { c2sinit = false; strn0cpy(player1->name, name, 16); };
void newskin(int skin) { player1->nextskin = min(0, max(skin, (rb_team_int(player1->team)==TEAM_CLA ? 3 : 5))); c2sinit=false; };
void newskin(int skin) { player1->nextskin = max(0, min(skin, (rb_team_int(player1->team)==TEAM_CLA ? 3 : 5))); c2sinit=false; };
void newteam(char *name)
{
if(m_teammode) ctf_team(name);
+1 -1
View File
@@ -52,7 +52,7 @@ void renderplayer(dynent *d)
if(!d) return;
int team = rb_team_int(d->team);
sprintf_sd(mdl)("playermodels/%s/0%i", team==TEAM_CLA ? "terrorist" : "counterterrorist", 1 + min(0, max(d->skin, (rb_team_int(d->team)==TEAM_CLA ? 3 : 5))));
sprintf_sd(mdl)("playermodels/%s/0%i", team==TEAM_CLA ? "terrorist" : "counterterrorist", 1 + max(0, min(d->skin, (team==TEAM_CLA ? 3 : 5))));
renderclient(d, isteam(player1->team, d->team), mdl, false, 1.6f);
if(d->gunselect>=0 && d->gunselect<NUMGUNS)
+1 -1
View File
@@ -165,7 +165,7 @@ void localservertoclient(uchar *buf, int len) // processes any updates from th
strcpy_s(d->name, text);
sgetstr();
strcpy_s(d->team, text);
getint(p);
d->skin = getint(p);
d->lifesequence = getint(p);
break;
};