diff options
| author | Dusan Durech <dusan.d@Centrum.sk> | 2009-06-24 20:05:18 +0200 |
|---|---|---|
| committer | Dusan Durech <dusan.d@Centrum.sk> | 2009-06-24 20:05:18 +0200 |
| commit | a8607be978f1288a8541b120eae60965f544ec58 (patch) | |
| tree | 0a78f83f156f033d46b208744d682e0ffc86f069 /src/screen | |
| parent | 0f02f6efd455329fdcdd4737801b3c1e6cc536d3 (diff) | |
fix coding style
Diffstat (limited to 'src/screen')
| -rw-r--r-- | src/screen/world.c | 13 |
1 files changed, 6 insertions, 7 deletions
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; |