aboutsummaryrefslogtreecommitdiff
path: root/gst/units.c
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-03-02 18:26:39 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-03-02 18:26:39 +0100
commita988df656b4d37dfa2472a4cde390185cfcea8b5 (patch)
tree262b48644a5aff086b6ead687d0f2297bf946c2b /gst/units.c
parent7932daa7e308b1c92ab97dde00fcc0ed790895a6 (diff)
test foundation and functional reimplementation of cost function
Diffstat (limited to 'gst/units.c')
-rw-r--r--gst/units.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/units.c b/gst/units.c
index 78b28ab..0297266 100644
--- a/gst/units.c
+++ b/gst/units.c
@@ -17,6 +17,7 @@ void army_grid_init(army *ar) {
}
void army_init (army *ar, map *m) {
+ ar->grid = NULL;
ar->uslen = 0;
ar->sx = m->sx; ar->sy = m->sy;
strcpy(ar->name, "-");