diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-13 16:27:34 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-13 16:30:24 +0100 |
commit | b3b30521e50f1ed0046091b316b19daec646b4ac (patch) | |
tree | 94da0045602da71c5c76b692f4ea4e8c510ca4b7 /src/path_finder.cpp | |
parent | 15f4780dd94a06bec5616155c05810c731d2e4af (diff) |
Basic alien AI.
Diffstat (limited to 'src/path_finder.cpp')
-rw-r--r-- | src/path_finder.cpp | 2 |
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_) |