summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-26 23:01:55 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-26 23:01:55 +0000
commit8c3ce0145c9e56de40092a6735f9fcdee60921ed (patch)
treefeb5f225113f5119e67c429949793b629940210c /src/map/map.c
parent4f14362f9130681ad98788a46ac02b747969505a (diff)
downloadhercules-8c3ce0145c9e56de40092a6735f9fcdee60921ed.tar.gz
hercules-8c3ce0145c9e56de40092a6735f9fcdee60921ed.tar.bz2
hercules-8c3ce0145c9e56de40092a6735f9fcdee60921ed.tar.xz
hercules-8c3ce0145c9e56de40092a6735f9fcdee60921ed.zip
- Updated item_db.sql to current.
- Some small code-cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6298 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 507c36b1c..9a97d7446 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2737,7 +2737,7 @@ static int map_loadafm (struct map_data *m, char *fn)
xs = m->xs = afm_size[0];
ys = m->ys = afm_size[1];
m->water_height = map_waterheight(m->name);
-
+ // check this, unsigned where it might not need to be
m->gat = (unsigned char*)aCallocA(xs * ys, 1);
for (y = 0; y < ys; y++) {