summaryrefslogtreecommitdiff
path: root/src/path_finder.cpp
diff options
context:
space:
mode:
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_)