From b3b30521e50f1ed0046091b316b19daec646b4ac Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Wed, 13 Dec 2017 16:27:34 +0100 Subject: Basic alien AI. --- src/path_finder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/path_finder.cpp') diff --git a/src/path_finder.cpp b/src/path_finder.cpp index c8cd253..30e9ebd 100644 --- a/src/path_finder.cpp +++ b/src/path_finder.cpp @@ -12,7 +12,7 @@ static const tile_index_t path_offsets[8] = { path_finder_t::~path_finder_t() { - delete nodes; + delete[] nodes; } void path_finder_t::setup_nodes(v2f_t src_, v2f_t dst_, cflags_t cflags_) -- cgit