* Bugfix
This commit is contained in:
jean.chalard
2010-02-14 14:04:45 +00:00
parent 4f0a2794d1
commit f0dae9e87e
+2 -3
View File
@@ -159,7 +159,7 @@ JGameLauncher* g_launcher = NULL;
static u32 gButtons = 0;
static u32 gOldButtons = 0;
static const struct { LocalKeyCode keysym; JButton; } gDefaultBindings[] =
static const struct { LocalKeySym keysym; JButton keycode; } gDefaultBindings[] =
{
{ VK_CONTROL, JGE_BTN_CTRL },
{ VK_RETURN, JGE_BTN_MENU },
@@ -302,9 +302,8 @@ int DrawGLScene(void) // Here's Where We Do All The Drawing
return TRUE; // Everything Went OK
}
void Update(int dt)
void Update(float dt)
{
gPrevControllerState = gControllerState;
g_engine->SetDelta(dt);
g_engine->Update(dt);
}