diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-28 20:44:44 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-28 20:44:44 +0000 |
commit | dd9f935197123a63faa902fcfdf166a99f7080b7 (patch) | |
tree | 019c5a6ba0812f7001b58267d72fe5c2cbfeebf3 /src/map/pc.c | |
parent | d70d0a66866d8c41cf6a8c9df266c0d7ea29c3dc (diff) | |
download | hercules-dd9f935197123a63faa902fcfdf166a99f7080b7.tar.gz hercules-dd9f935197123a63faa902fcfdf166a99f7080b7.tar.bz2 hercules-dd9f935197123a63faa902fcfdf166a99f7080b7.tar.xz hercules-dd9f935197123a63faa902fcfdf166a99f7080b7.zip |
- 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
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) |