aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-10 19:57:05 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-10 19:57:05 +0000
commite670f3532376dd6aec2bc7b47d2052216be98516 (patch)
treeaada60b16b5a81a1d242a66dd079bd2cf06fd706
parent1d0359f2c24867091e969b644ecc27b44ad8d96e (diff)
downloadusdx-e670f3532376dd6aec2bc7b47d2052216be98516.tar.gz
usdx-e670f3532376dd6aec2bc7b47d2052216be98516.tar.xz
usdx-e670f3532376dd6aec2bc7b47d2052216be98516.zip
fixed main loop initialization
should fix the close w/o error message after loading that some people reported git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2478 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--src/base/UMain.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/UMain.pas b/src/base/UMain.pas
index a2e43fc8..7bf091ef 100644
--- a/src/base/UMain.pas
+++ b/src/base/UMain.pas
@@ -358,6 +358,8 @@ var
begin
SDL_EnableKeyRepeat(125, 125);
+ Continue := true;
+
CountSkipTime(); // JB - for some reason this seems to be needed when we use the SDL Timer functions.
while not Done do
begin