*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1166 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-06-30 17:01:44 +00:00
parent 0492c1d0de
commit 7754b8d3c5
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -24,6 +24,8 @@ void cleanup(char *msg) // single program exit point;
void quit() // normal exit
{
extern void stopn();
stopn();
writeservercfg();
writecfg();
cleanup(NULL);
+2 -2
View File
@@ -59,7 +59,7 @@ void savestate(char *fn)
loopv(players)
{
gzput(players[i]==NULL);
gzwrite(f, players[i], sizeof(playerent));
if(players[i]) gzwrite(f, players[i], sizeof(playerent));
}
}
@@ -275,7 +275,7 @@ void shiftdemoplayer(int i)
vector<playerent *> plrs;
loopv(players) if(players[i] != NULL) plrs.add(players[i]);
int cur = plrs.find(demoplayer);
if(cur >= 0) demoplayer = plrs[(cur+i) % plrs.length()];
demoplayer = cur<0 ? player1 : plrs[(cur+i) % plrs.length()];
}
void startdemo()