summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-01 05:15:21 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-01 05:15:21 +0000
commit1a5669daa2c667e78be2d2b9e2145b6335a7ceaf (patch)
treeed54b797278fb56b171b9ae5085e683536239055 /src
parent055d734bc98f904532a89af30083660e3b95f72a (diff)
downloadhercules-1a5669daa2c667e78be2d2b9e2145b6335a7ceaf.tar.gz
hercules-1a5669daa2c667e78be2d2b9e2145b6335a7ceaf.tar.bz2
hercules-1a5669daa2c667e78be2d2b9e2145b6335a7ceaf.tar.xz
hercules-1a5669daa2c667e78be2d2b9e2145b6335a7ceaf.zip
- 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
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
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))