minor fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6653 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2011-09-16 20:51:57 +00:00
parent ad97f148ef
commit 5a67575974
2 changed files with 10 additions and 20 deletions
+1 -1
View File
@@ -1301,7 +1301,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
extern char *curdemofile;
getstring(demofile, p, MAXSTRLEN);
watchingdemo = demoplayback = demofile[0] != '\0';
delete[] curdemofile;
DELETEA(curdemofile);
if(demoplayback)
{
curdemofile = newstring(demofile);