summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-03 23:27:22 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-03 23:27:22 +0000
commit58a49148ed8667e49214d4814fe771e7cceec427 (patch)
tree6542200adf9c37566b39efb3c86d4b25715c5593 /src/map/map.c
parentd3e6e368ac40c44fb13978a7529f8f818cdc0731 (diff)
downloadhercules-58a49148ed8667e49214d4814fe771e7cceec427.tar.gz
hercules-58a49148ed8667e49214d4814fe771e7cceec427.tar.bz2
hercules-58a49148ed8667e49214d4814fe771e7cceec427.tar.xz
hercules-58a49148ed8667e49214d4814fe771e7cceec427.zip
Changes to reduce the number of map cell types
- Pneuma now again works via status change (see r3969) - removed unused CELL_SAFETYWALL - removed custom CELL_REGEN, it just increased regen rate (r1192, r1518) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12005 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 04ff50e23..2d11b5725 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2176,16 +2176,10 @@ int map_getcellp(struct map_data* m,int x,int y,cell_t cellchk)
// base cell type checks
case CELL_CHKNPC:
return (cell.npc);
- case CELL_CHKPNEUMA:
- return (cell.pneuma);
- case CELL_CHKSAFETYWALL:
- return (cell.safetywall);
case CELL_CHKBASILICA:
return (cell.basilica);
case CELL_CHKLANDPROTECTOR:
return (cell.landprotector);
- case CELL_CHKREGEN:
- return (cell.regen);
case CELL_CHKICEWALL:
return (cell.icewall);
case CELL_CHKNOVENDING:
@@ -2235,13 +2229,8 @@ void map_setcell(int m,int x,int y,int cell)
case CELL_CLRICEWALL: map[m].cell[j].icewall = 0; break;
case CELL_SETBASILICA: map[m].cell[j].basilica = 1; break;
case CELL_CLRBASILICA: map[m].cell[j].basilica = 0; break;
- case CELL_SETPNEUMA: map[m].cell[j].pneuma = 1; break;
- case CELL_CLRPNEUMA: map[m].cell[j].pneuma = 0; break;
- case CELL_SETSAFETYWALL: map[m].cell[j].safetywall = 1; break;
- case CELL_CLRSAFETYWALL: map[m].cell[j].safetywall = 0; break;
case CELL_SETLANDPROTECTOR: map[m].cell[j].landprotector = 1; break;
case CELL_CLRLANDPROTECTOR: map[m].cell[j].landprotector = 0; break;
- case CELL_SETREGEN: map[m].cell[j].regen = 1; break;
case CELL_SETNOVENDING: map[m].cell[j].novending = 1; break;
case CELL_CLRNOVENDING: map[m].cell[j].novending = 0; break;
default: