From 1a5669daa2c667e78be2d2b9e2145b6335a7ceaf Mon Sep 17 00:00:00 2001 From: skotlex Date: Sat, 1 Apr 2006 05:15:21 +0000 Subject: - Fixed pc_setpos sending you to a random direction when the target tile was stacked (CELL_NOSTACK mod) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5836 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/pc.c b/src/map/pc.c index 1a1141494..b52b48a1f 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3071,7 +3071,7 @@ int pc_setpos(struct map_session_data *sd,unsigned short mapindex,int x,int y,in if((x==0 && y==0) || (map_getcell(m, x, y, CELL_CHKNOPASS) && !map_getcell(m, x, y, CELL_CHKICEWALL) && -#ifndef CELL_NOSTACK +#ifdef CELL_NOSTACK !map_getcell(m, x, y, CELL_CHKSTACK) && #endif !map_getcell(m, x, y, CELL_CHKMOONLIT)) -- cgit v1.2.3-70-g09d2