From dd9f935197123a63faa902fcfdf166a99f7080b7 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 28 Aug 2006 20:44:44 +0000 Subject: - Restructured CG_MOONLIT so that it is a ground effect like the other Encores. - Modified SC_DANCING so that val1 can contain both skill id and skill lv, removed SC_MOONLIT git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8526 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/pc.c') 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) -- cgit v1.2.3-70-g09d2