git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4899 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-05-17 18:24:17 +00:00
parent 24cde7a695
commit c42b53cbce
10 changed files with 101 additions and 83 deletions
+5
View File
@@ -1103,6 +1103,11 @@ void sniperrifle::setscope(bool enable)
{
if(scoped == false && enable == true) scoped_since = lastmillis;
if(player1 == owner && enable != scoped) addmsg(SV_SCOPE, "ri2", lastmillis, enable);
// 2010 MAY 17 : flowtron:
// if(watching_demo) we might need to ignore some messages
// e.g. I got one where I pressed SCOPE during the auto-reload -
// that makes it pop up during playback, but not during actual gametime
// since then reloading was true - seems it isn't during playback - test, verify, correct bug .. test, verify .. commit
scoped = enable;
}
}