From 879fb2adefadbc5f38711cd8f01bcc4cee053e3d Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Tue, 2 Mar 2021 09:44:19 +0100 Subject: i hate cmake, g++, ld, collect2, cc1, x86_64-w64-mingw32 --- gst/info.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gst/info.c') diff --git a/gst/info.c b/gst/info.c index 0a7222d..a1ad3b2 100644 --- a/gst/info.c +++ b/gst/info.c @@ -3,12 +3,12 @@ #include #include -#include -#include +#include "info.h" +#include "units.h" -#include -#include -#include +#include "../umath/vec.h" +#include "../json/jsmn.h" +#include "../json/jsonparse.h" int type_damage_map (char strdmg[][32]) { strcpy(strdmg[0], "pierce"); @@ -578,6 +578,7 @@ void info_load (infos *info) { char json[size]; type_damage_map(info->damage_types); + info->templateslen = 0; info_read_file(json, "content/templates/default.txt", size); info_parse_json(info, json, "template"); -- cgit v1.2.3-54-g00ecf