From a8607be978f1288a8541b120eae60965f544ec58 Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Wed, 24 Jun 2009 20:05:18 +0200 Subject: fix coding style --- src/screen/world.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/screen') diff --git a/src/screen/world.c b/src/screen/world.c index f156ae4..97b0d38 100644 --- a/src/screen/world.c +++ b/src/screen/world.c @@ -45,7 +45,6 @@ #include "table.h" #include "control.h" - static arena_t *arena; static bool_t isScreenWorldInit = FALSE; static bool_t isEndWorld; @@ -247,19 +246,19 @@ static void control_keyboard(tux_t *tux, control_t *control) { switch (control_get_key_route(control)) { - case CONTROL_UP : + case CONTROL_UP: netAction(tux, TUX_UP); tux_action(tux, TUX_UP); break; - case CONTROL_RIGHT : + case CONTROL_RIGHT: netAction(tux, TUX_RIGHT); tux_action(tux, TUX_RIGHT); break; - case CONTROL_LEFT : + case CONTROL_LEFT: netAction(tux, TUX_LEFT); tux_action(tux, TUX_LEFT); break; - case CONTROL_DOWN : + case CONTROL_DOWN: netAction(tux, TUX_DOWN); tux_action(tux, TUX_DOWN); break; @@ -267,11 +266,11 @@ static void control_keyboard(tux_t *tux, control_t *control) switch (control_get_key_action(control)) { - case CONTROL_SHOT : + case CONTROL_SHOT: netAction(tux, TUX_SHOT); tux_action(tux, TUX_SHOT); break; - case CONTROL_SWITCH : + case CONTROL_SWITCH: netAction(tux, TUX_SWITCH_GUN); tux_action(tux, TUX_SWITCH_GUN); break; -- cgit v1.2.3