diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-27 14:17:14 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-27 14:17:14 +0000 |
commit | bfdb9f0246ab4f774e612f6cc34524e35a113d88 (patch) | |
tree | 6198262d6f9f8b5ec9dae23732c5cd55fb540a9a /src/map/battle.c | |
parent | d1a2dd2086001923ef54f4a2c84b569b6a36da00 (diff) | |
download | hercules-bfdb9f0246ab4f774e612f6cc34524e35a113d88.tar.gz hercules-bfdb9f0246ab4f774e612f6cc34524e35a113d88.tar.bz2 hercules-bfdb9f0246ab4f774e612f6cc34524e35a113d88.tar.xz hercules-bfdb9f0246ab4f774e612f6cc34524e35a113d88.zip |
* Removed NODAMAGE and ICEWALL cell types (mem usage back to normal)
- Icewall now uses basic cell type 5 (nonwalkable, shootable)
- as a consequence, you can now warp to a nonwalkable cell - but only via gm command or scripted warp bug (hopefully :)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12247 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index a6dad0538..1f7295578 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3023,9 +3023,6 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f return -1; } - if (flag&BCT_ENEMY && (map_getcell(m,src->x,src->y,CELL_CHKNODAMAGE) || map_getcell(m,target->x,target->y,CELL_CHKNODAMAGE))) - return -1; // [NoDamage] - //t_bl/s_bl hold the 'master' of the attack, while src/target are the actual //objects involved. if ((t_bl = battle_get_master(target)) == NULL) |