diff options
author | jacopo grandi <jak.sk8@hotmail.it> | 2021-03-02 09:44:19 +0100 |
---|---|---|
committer | jacopo grandi <jak.sk8@hotmail.it> | 2021-03-02 09:44:19 +0100 |
commit | 879fb2adefadbc5f38711cd8f01bcc4cee053e3d (patch) | |
tree | 63d9841f0dd321978714dd5839cb6f8c3c8df57e /gst/info.c | |
parent | 2f345b1d6e130177efe4fa47d5b2bd11f352ce85 (diff) |
i hate cmake, g++, ld, collect2, cc1, x86_64-w64-mingw32
Diffstat (limited to 'gst/info.c')
-rw-r--r-- | gst/info.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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"); |