summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-23 11:06:58 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-23 11:06:58 +0000
commita050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3 (patch)
tree93e52b49aaee75c70e52aa0400fe20814d38ec7a /src/map/npc.c
parent4161c99f71fbd824163356c642731f7599c291e2 (diff)
downloadhercules-a050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3.tar.gz
hercules-a050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3.tar.bz2
hercules-a050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3.tar.xz
hercules-a050a1a8a1bb9e5a61a3b9ac60e1e688e98c4ea3.zip
- Fixed warning about unused variable
- Made the kaahi heal timer function uncrashable. - Fixed pc move item to cart function checking against the wrong max index. - Fixed initialization of sd issue in map_addblock - Removed redundant reinitialization when parsing item pickup. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11968 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index e95a32c71..ca4201428 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2137,7 +2137,7 @@ int npc_parse_mob2(struct spawn_data* mob, int index)
static const char* npc_parse_mob(char* w1, char* w2, char* w3, char* w4, const char* start, const char* buffer, const char* filepath)
{
- int level, num, class_, mode, x,y,xs,ys, temp;
+ int level, num, class_, mode, x,y,xs,ys;
char mapname[32];
char mobname[128];
struct spawn_data mob, *data;