From a988df656b4d37dfa2472a4cde390185cfcea8b5 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Tue, 2 Mar 2021 18:26:39 +0100 Subject: test foundation and functional reimplementation of cost function --- gst/units.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/units.c') 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, "-"); -- cgit v1.2.3-54-g00ecf