summaryrefslogtreecommitdiff
path: root/src/screen_world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_world.c')
-rw-r--r--src/screen_world.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/screen_world.c b/src/screen_world.c
index 671a858..fde1d4a 100644
--- a/src/screen_world.c
+++ b/src/screen_world.c
@@ -214,27 +214,9 @@ static void netAction(tux_t *tux, int action)
static void control_keyboard_right(tux_t *tux)
{
-/*
- static my_time_t lastTime = 0;
- my_time_t currentTime;
-*/
Uint8 *mapa;
mapa = SDL_GetKeyState(NULL);
-/*
- if( lastTime == 0 )
- {
- lastTime = getMyTime();
- }
-
- currentTime = getMyTime();
- if( currentTime - lastTime < 45 )
- {
- return;
- }
-
- lastTime = getMyTime();
-*/
assert( tux != NULL );
assert( mapa != NULL );