minor improvement

This commit is contained in:
Christian Semmler 2023-06-23 18:10:34 +02:00
parent 435ac977a1
commit d804584223
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -270,10 +270,8 @@ inline void Isle::Tick(BOOL sleepIfNotNextFrame)
return;
}
if (sleepIfNotNextFrame == 0)
return;
Sleep(0);
if (sleepIfNotNextFrame != 0)
Sleep(0);
}
#endif // ISLE_H