summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-05-16 17:34:16 +0200
committerHaru <haru@dotalux.com>2014-05-16 17:34:16 +0200
commitbc1d286cc71a7ae82d9639f4a832970a287c0d71 (patch)
treee17c392fa7994068148a5567f872797f5e5d9e48 /src/map/script.c
parentd350bfeb9cc310ec329d968fc57bf4183b7cb527 (diff)
downloadhercules-bc1d286cc71a7ae82d9639f4a832970a287c0d71.tar.gz
hercules-bc1d286cc71a7ae82d9639f4a832970a287c0d71.tar.bz2
hercules-bc1d286cc71a7ae82d9639f4a832970a287c0d71.tar.xz
hercules-bc1d286cc71a7ae82d9639f4a832970a287c0d71.zip
Follow-up to b6b3f58795288701d0e162d43fa6f0a47af913b3
- Includes in some files weren't sorted alphabetically. Special thanks to KeiKun. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index b432e6720..404079126 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11,6 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "atcommand.h"
#include "battle.h"
@@ -58,7 +59,6 @@
#ifndef WIN32
#include <sys/time.h>
#endif
-#include <time.h>
static inline int GETVALUE(const unsigned char* buf, int i) {
return (int)MakeDWord(MakeWord(buf[i], buf[i+1]), MakeWord(buf[i+2], 0));