diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-26 18:52:01 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-26 18:52:01 +0000 |
commit | 108fbccc2c94f627ad2e3c3bd9cf411154ce6188 (patch) | |
tree | 4dca55c0f532ac1f6794894c68b17bc02e8fbb6f /src/game.cpp | |
parent | 822163c555c62afb29d30813aa97a25daa406f04 (diff) | |
download | mana-108fbccc2c94f627ad2e3c3bd9cf411154ce6188.tar.gz mana-108fbccc2c94f627ad2e3c3bd9cf411154ce6188.tar.bz2 mana-108fbccc2c94f627ad2e3c3bd9cf411154ce6188.tar.xz mana-108fbccc2c94f627ad2e3c3bd9cf411154ce6188.zip |
*** empty log message ***
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 4eb3090f..0960190e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -228,11 +228,13 @@ void do_input() { } } + rect(screen, (mouse_x/32)*32,(mouse_y/32)*32, ((mouse_x/32)+1)*32, ((mouse_y/32)+1)*32, makecol(255,255,255)); + if(mouse_b&2) { if(!show_npc_dialog) { int npc_x = mouse_x/32+map_x/32; int npc_y = mouse_y/32+map_y/32; - int id = find_npc(npc_x+1, npc_y+1); + int id = find_npc(npc_x, npc_y); if(id!=0) { WFIFOW(0) = net_w_value(0x0090); WFIFOL(2) = net_l_value(id); |