From 7861b2339ecd483eb36014edad057c2b7b196ba5 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 17 Apr 2007 17:39:10 +0000 Subject: - The gain exp from resurrection config will now only work when the revived player has yet to reach the last level (since otherwise it can give quite a lot of exp since the last level exp just keeps piling up) - Corrected unit_canmove so you can't move if you are vending. - Corrected npc_click so it won't let you click on hidden npcs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10281 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index d8be6cc78..1e152b24a 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -706,6 +706,7 @@ int unit_can_move(struct block_list *bl) if (sd && ( pc_issit(sd) || + sd->vender_id || sd->state.blockedmove )) return 0; //Can't move -- cgit v1.2.3-70-g09d2