From 7d19b486709a0fe940dbb903cf65388702086106 Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Wed, 6 Aug 2003 23:49:50 +0000 Subject: Fix intro timing on WinCE ... guess everybody could use it but I'll leave the engine mainteners decide :p svn-id: r9583 --- sky/intro.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sky/intro.cpp') diff --git a/sky/intro.cpp b/sky/intro.cpp index 84293e9582..2d1ced19b4 100644 --- a/sky/intro.cpp +++ b/sky/intro.cpp @@ -884,7 +884,11 @@ bool SkyIntro::escDelay(uint32 msecs) { return false; } } +#ifdef _WIN32_WCE + uint8 nDelay = (msecs > 15)?(15):((uint8)msecs); +#else uint8 nDelay = (msecs > 50)?(50):((uint8)msecs); +#endif _system->delay_msecs(nDelay); msecs -= nDelay; } while (msecs > 0); -- cgit v1.2.3