summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-20 19:46:37 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-20 19:46:37 +0000
commit37b865d2ea580ee9abaf80b7c1efee1b062394c0 (patch)
tree02a7d1339e7112f744aba58176cfd2f07ed72753
parentc93f9d8acd4b01b41afe095bc8391ef498c55eba (diff)
downloadmana-client-37b865d2ea580ee9abaf80b7c1efee1b062394c0.tar.gz
mana-client-37b865d2ea580ee9abaf80b7c1efee1b062394c0.tar.bz2
mana-client-37b865d2ea580ee9abaf80b7c1efee1b062394c0.tar.xz
mana-client-37b865d2ea580ee9abaf80b7c1efee1b062394c0.zip
Removing two unused variables.
-rw-r--r--src/game.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/game.cpp b/src/game.cpp
index d7dd7c80..660dc502 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -42,7 +42,6 @@
char map_path[480];
-unsigned short src_x, src_y;
bool refresh_beings = false;
unsigned char keyb_state;
volatile int tick_time;
@@ -462,8 +461,6 @@ void do_input()
{
walk(x + xDirection, y + yDirection, Direction);
walk_status = 1;
- src_x = x;
- src_y = y;
player_node->action = WALK;
player_node->walk_time = tick_time;
player_node->x = x + xDirection;
@@ -483,8 +480,6 @@ void do_input()
yDirection = 0;
walk(x + xDirection, y + yDirection, Direction);
walk_status = 1;
- src_x = x;
- src_y = y;
player_node->action = WALK;
player_node->walk_time = tick_time;
player_node->x = x + xDirection;
@@ -504,8 +499,6 @@ void do_input()
xDirection = 0;
walk(x + xDirection, y + yDirection, Direction);
walk_status = 1;
- src_x = x;
- src_y = y;
player_node->action = WALK;
player_node->walk_time = tick_time;
player_node->x = x + xDirection;
@@ -513,7 +506,7 @@ void do_input()
player_node->direction = Direction;
}
else player_node->direction = Direction;
- } // end if xDirection and yDirection != 0
+ }
if (player_node->action == STAND)
{