aboutsummaryrefslogtreecommitdiff
path: root/gst/info.c
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-03-02 09:44:19 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-03-02 09:44:19 +0100
commit879fb2adefadbc5f38711cd8f01bcc4cee053e3d (patch)
tree63d9841f0dd321978714dd5839cb6f8c3c8df57e /gst/info.c
parent2f345b1d6e130177efe4fa47d5b2bd11f352ce85 (diff)
i hate cmake, g++, ld, collect2, cc1, x86_64-w64-mingw32
Diffstat (limited to 'gst/info.c')
-rw-r--r--gst/info.c11
1 files changed, 6 insertions, 5 deletions
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 <string.h>
#include <math.h>
-#include <units.h>
-#include <info.h>
+#include "info.h"
+#include "units.h"
-#include <vec.h>
-#include <jsmn.h>
-#include <jsonparse.h>
+#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");