summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2004-10-22 16:57:13 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2004-10-22 16:57:13 +0000
commit86076c5ff89a71f2839ba54b53fce748552ef3b6 (patch)
treec44975bb46fa9fe1e448a9e3a54d061875b6f4ac /src/being.cpp
parent5f463818c1cc95027092608347a4845753979704 (diff)
downloadmana-86076c5ff89a71f2839ba54b53fce748552ef3b6.tar.gz
mana-86076c5ff89a71f2839ba54b53fce748552ef3b6.tar.bz2
mana-86076c5ff89a71f2839ba54b53fce748552ef3b6.tar.xz
mana-86076c5ff89a71f2839ba54b53fce748552ef3b6.zip
*** empty log message ***
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 0c15918e..e52fc76e 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -149,7 +149,10 @@ unsigned int find_npc(unsigned short x, unsigned short y) {
if((get_x(node->coordinates)==x)&&(get_y(node->coordinates)==y))
return node->id;
else node = node->next;
- } else node = node->next;
+ } else {
+ node = node->next;
+ //alert("id","","","","",0,0);
+ }
}
return 0;
}