diff options
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_) |