Browse Source

- Fixed pc_setpos sending you to a random direction when the target tile was stacked (CELL_NOSTACK mod)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5836 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 years ago
parent
commit
da1e588b9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/pc.c

+ 1 - 1
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))