From b3a64dc0c6db8c2f2a6faf5e3d2cd11c81713114 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 8 Sep 2005 22:48:48 +0000 Subject: Removed inclusion of malloc.h header as it doens't seem necessary and was problematic on FreeBSD. --- src/game.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 80cec17d..45bc4dce 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -924,7 +924,8 @@ void do_input() } } - if (joy[JOY_BTN1]) { + if (joy[JOY_BTN1]) + { unsigned short x = player_node->x; unsigned short y = player_node->y; int id = find_floor_item_by_cor(x, y); @@ -936,7 +937,8 @@ void do_input() WFIFOSET(6); } } - else if (joy[JOY_BTN2] && action_time) { + else if (joy[JOY_BTN2] && action_time) + { if (player_node->action == Being::STAND) action(2, 0); else if (player_node->action == Being::SIT) -- cgit v1.2.3-70-g09d2