diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-21 21:27:59 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-21 21:27:59 +0000 |
commit | 58ffdbff028f763451f471639c6aecc530ca4d94 (patch) | |
tree | d2a2a3de9eb52ea25e6b4f361dbe64eaba309666 /src/game.cpp | |
parent | f7e4e3acb009dc09dffc98ff7b59b0260e7ecc28 (diff) | |
download | mana-58ffdbff028f763451f471639c6aecc530ca4d94.tar.gz mana-58ffdbff028f763451f471639c6aecc530ca4d94.tar.bz2 mana-58ffdbff028f763451f471639c6aecc530ca4d94.tar.xz mana-58ffdbff028f763451f471639c6aecc530ca4d94.zip |
Some cleanups and button, radiobutton and checkbox now take into account
disabled status.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
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); |