summaryrefslogtreecommitdiff
path: root/src/path_finder.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-13 16:27:34 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-12-13 16:30:24 +0100
commitb3b30521e50f1ed0046091b316b19daec646b4ac (patch)
tree94da0045602da71c5c76b692f4ea4e8c510ca4b7 /src/path_finder.cpp
parent15f4780dd94a06bec5616155c05810c731d2e4af (diff)
Basic alien AI.
Diffstat (limited to 'src/path_finder.cpp')
-rw-r--r--src/path_finder.cpp2
1 files changed, 1 insertions, 1 deletions
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_)