Don't delay any longer, when engine is asked to quit.

svn-id: r40699
This commit is contained in:
Johannes Schickel 2009-05-18 20:07:09 +00:00
parent b70bbcf306
commit cc250e0029

View File

@ -2073,7 +2073,7 @@ uint16 *LoLEngine::getCharacterOrMonsterProtectionAgainstItems(int id) {
void LoLEngine::delay(uint32 millis, bool cUpdate, bool iUpdate) {
int del = (int)(millis);
while (del > 0) {
while (del > 0 && !shouldQuit()) {
if (cUpdate)
update();
if (iUpdate)