switching between spect modes, demo recording fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1462 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -605,9 +605,13 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
case SV_DEMOPLAYBACK:
|
||||
{
|
||||
int on = getint(p);
|
||||
if(on) { player1->state = CS_SPECTATE; } // player1->state = CS_SPECTATOR; // fixme,ah
|
||||
if(on)
|
||||
{
|
||||
player1->state = CS_SPECTATE;
|
||||
player1->spectating = SM_FLY;
|
||||
}
|
||||
//else stopdemo();
|
||||
else callvote(SA_STOPDEMO);
|
||||
else callvote(SA_STOPDEMO); // FIXME
|
||||
demoplayback = on!=0;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user