summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
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;
}