mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-02 05:01:17 +00:00
minor improvement
This commit is contained in:
parent
435ac977a1
commit
d804584223
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user