summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-03 14:43:34 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-03 14:43:34 +0000
commit89d430b2c4d770d7d5c073710a21bd24df5f3f0c (patch)
treee5f93768098ffc862b279316dc20c78d7c96835d /src/map/map.c
parent85db2023cb033928a190ac7fa6f05b5d6cbad14a (diff)
downloadhercules-89d430b2c4d770d7d5c073710a21bd24df5f3f0c.tar.gz
hercules-89d430b2c4d770d7d5c073710a21bd24df5f3f0c.tar.bz2
hercules-89d430b2c4d770d7d5c073710a21bd24df5f3f0c.tar.xz
hercules-89d430b2c4d770d7d5c073710a21bd24df5f3f0c.zip
- Fixed missing client update when 'return to savepoint' fails
- Fixed a bad copy-paste from r10028 letting players escape jail (char was dead on login, so statuses (SC_JAILED) couln't be applied) - Added clif_standing() to clif_sitting(), and used them in clif.c - Cleaned up clif.c a bit - clif_clearchar->clif_clearunit_area, clif_clearchar_id->clif_clearunit_single git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10668 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 1acee0c9b..ccf136040 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1944,7 +1944,7 @@ void map_removenpc(void)
for(m=0;m<map_num;m++) {
for(i=0;i<map[m].npc_num && i<MAX_NPC_PER_MAP;i++) {
if(map[m].npc[i]!=NULL) {
- clif_clearchar_area(&map[m].npc[i]->bl,2);
+ clif_clearunit_area(&map[m].npc[i]->bl,2);
map_delblock(&map[m].npc[i]->bl);
idb_remove(id_db,map[m].npc[i]->bl.id);
if(map[m].npc[i]->bl.subtype==SCRIPT) {