*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@289 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-04-28 12:45:24 +00:00
parent b368356f81
commit 0b24ff0ea9
2 changed files with 7 additions and 4 deletions
+4 -2
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 = max(0, min(skin, (rb_team_int(player1->team)==TEAM_CLA ? 3 : 5))); c2sinit=false; };
void newskin(int skin) { c2sinit=false; player1->nextskin = max(0, min(skin, (rb_team_int(player1->team)==TEAM_CLA ? 3 : 5))); };
void newteam(char *name)
{
if(m_teammode) ctf_team(name);
@@ -332,6 +332,8 @@ void lsinfo()
printf("lifesequences:\nyou\t%i\n", player1->lifesequence);
loopv(players)
{
printf("%s\t%i\n", players[i]->name, players[i]->lifesequence);
dynent *d = players[i];
if(!d) continue;
printf("%s\t%i\n", d->name, d->lifesequence);
}
}; COMMAND(lsinfo, ARG_NONE);
+3 -2
View File
@@ -166,7 +166,8 @@ void localservertoclient(uchar *buf, int len) // processes any updates from th
sgetstr();
strcpy_s(d->team, text);
d->skin = getint(p);
d->lifesequence = getint(p);
d->lifesequence = getint(p);
printf("SV_INIT2C\tskin:%i\tlifes:%i\n", d->skin, d->lifesequence);
break;
};
@@ -242,7 +243,7 @@ void localservertoclient(uchar *buf, int len) // processes any updates from th
};
};
playsound(S_DIE1+rnd(2), &d->o);
d->lifesequence++;
d->lifesequence++; printf("SV_DIED\n");
break;
};