demo playback fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1155 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-06-15 19:46:30 +00:00
parent 7a752f8302
commit 040fed8593
4 changed files with 6 additions and 3 deletions
+3
View File
@@ -514,6 +514,9 @@ void preparectf(bool cleanonly=false)
e.spawned = true;
if(e.attr2>2) { conoutf("\f3invalid ctf-flag entity (%i)", i); e.attr2 = 0; }
flaginfo &f = flaginfos[e.attr2];
f.ack = false;
f.actor = NULL;
f.actor_cn = -1;
f.team = e.attr2;
f.flag = &e;
f.state = CTFF_INBASE;