diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 781d434f8..42b8a0ed1 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3323,11 +3323,10 @@ int pc_setpos(struct map_session_data *sd,unsigned short mapindex,int x,int y,in x=y=0; if((x==0 && y==0) || (map_getcell(m, x, y, CELL_CHKNOPASS) && - !map_getcell(m, x, y, CELL_CHKICEWALL) && #ifdef CELL_NOSTACK !map_getcell(m, x, y, CELL_CHKSTACK) && #endif - !map_getcell(m, x, y, CELL_CHKMOONLIT)) + !map_getcell(m, x, y, CELL_CHKICEWALL)) ){ //It is allowed on top of Moonlight/icewall tiles to prevent force-warping 'cheats' [Skotlex] if(x||y) { if(battle_config.error_log) |