summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-06 22:08:23 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-06 22:08:23 +0000
commitc4227b9c59b6495e7853c0736f1fa4a2a40b9ba4 (patch)
tree6319755c22a8036ab32a9b07c5755fb9c23b3bc1 /src/map/map.c
parent1155148a46f0e1108d46b95a69630061347991cb (diff)
downloadhercules-c4227b9c59b6495e7853c0736f1fa4a2a40b9ba4.tar.gz
hercules-c4227b9c59b6495e7853c0736f1fa4a2a40b9ba4.tar.bz2
hercules-c4227b9c59b6495e7853c0736f1fa4a2a40b9ba4.tar.xz
hercules-c4227b9c59b6495e7853c0736f1fa4a2a40b9ba4.zip
Extended the id range for npcs, now [400,700) will also be treated as NPC objects (see topic:170845 and bugreport:727).
Silenced a compilation warning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12025 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 a3757101d..38ed332af 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2338,7 +2338,7 @@ int map_readfromcache(struct map_data *m, FILE *fp)
if( i < header.map_count )
{
unsigned char *buf, *buf2;
- unsigned int size, xy;
+ unsigned long size, xy;
m->xs = info.xs;
m->ys = info.ys;