Fixed AO cycle <- -> buttons not working when cycling was disabled.

master
ziree 2011-09-15 14:36:02 +02:00
parent d7119ee1cd
commit cb3ff2abd2
1 changed files with 2 additions and 1 deletions

View File

@ -500,7 +500,8 @@ void AOEngine::cycle(eCycleMode cycleMode)
return;
}
if(!state->mCycle)
// make sure we disable cycling only for timed cycle, so manual cycling still works, even with cycling switched off
if(!state->mCycle && cycleMode==CycleAny)
{
lldebugs << "cycle timeout, but state is set to not cycling." << llendl;
return;