summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 660dc502..15c730f1 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -47,9 +47,9 @@ unsigned char keyb_state;
volatile int tick_time;
volatile bool action_time = false;
int server_tick;
-extern unsigned char screen_mode;
int fps = 0, frame = 0, current_npc = 0;
bool displayPathToMouse = false;
+int startX = 0, startY = 0;
OkDialog *deathNotice = NULL;
@@ -140,8 +140,8 @@ void do_init()
// Initialize beings
player_node = new Being();
player_node->id = account_ID;
- player_node->x = x;
- player_node->y = y;
+ player_node->x = startX;
+ player_node->y = startY;
player_node->speed = 150;
player_node->setHairColor(char_info->hair_color);
player_node->setHairStyle(char_info->hair_style);