summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-12-09 18:31:47 +0100
committerHaru <haru@dotalux.com>2013-12-09 18:45:34 +0100
commitc3c5e31443c218fb7fbf42b2c48d158b01f37131 (patch)
tree6e808a112286ef02e4ab7c9843b3f02ab42204d4 /src/map/clif.c
parent3e90bda07068e8662a7fcaf8b1a4e82bbdf0fd4d (diff)
downloadhercules-c3c5e31443c218fb7fbf42b2c48d158b01f37131.tar.gz
hercules-c3c5e31443c218fb7fbf42b2c48d158b01f37131.tar.bz2
hercules-c3c5e31443c218fb7fbf42b2c48d158b01f37131.tar.xz
hercules-c3c5e31443c218fb7fbf42b2c48d158b01f37131.zip
Fixed a crash when casting GN_SPORE_EXPLOSION on certain systems.
- Follow-up to 44c33fda3614d588e6bf6cee1cf884e98f1531f0. - Also fixed some incorrect va_end calls that came up while debugging. - Special thanks to Ind for his help debugging the problem. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 4e10e2eea..675cfba9b 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -18250,6 +18250,7 @@ static void __attribute__ ((unused)) packetdb_addpacket(short cmd, int len, ...)
packet_db[cmd].pos[i] = pos;
}
+ va_end(va);
}
void packetdb_loaddb(void) {