From 86076c5ff89a71f2839ba54b53fce748552ef3b6 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Fri, 22 Oct 2004 16:57:13 +0000 Subject: *** empty log message *** --- src/being.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/being.cpp') 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; } -- cgit v1.2.3-70-g09d2