rewind a demo, set time remaining
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6424 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -1268,7 +1268,9 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
|
||||
case SV_DEMOPLAYBACK:
|
||||
{
|
||||
watchingdemo = demoplayback = getint(p)!=0;
|
||||
extern string demofile;
|
||||
getstring(demofile, p);
|
||||
watchingdemo = demoplayback = demofile && demofile[0];
|
||||
if(demoplayback)
|
||||
{
|
||||
player1->resetspec();
|
||||
|
||||
Reference in New Issue
Block a user