From 32c467ffa83198173d5f818900a3cb2449385709 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 25 Apr 2006 03:20:32 +0000 Subject: - Simplified npc_gettimerevent_tick so that it should return a tick value even after the last ontimer label has been reached. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6264 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/grfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/grfio.c b/src/common/grfio.c index 81a5ef7c5..eae06eada 100644 --- a/src/common/grfio.c +++ b/src/common/grfio.c @@ -299,7 +299,7 @@ int decode_zip(unsigned char *dest, unsigned long* destLen, const unsigned char* int encode_zip(unsigned char *dest, unsigned long* destLen, const unsigned char* source, unsigned long sourceLen) { z_stream stream; int err; - + memset(&stream, 0, sizeof(stream)); stream.next_in = (Bytef*)source; stream.avail_in = (uInt)sourceLen; /* Check for source > 64K on 16-bit machine: */ -- cgit v1.2.3-70-g09d2