From 72916e788a2de108160dcab5cb9eea0ed5a4cba6 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Wed, 10 Jan 2024 17:54:33 -0600 Subject: [PATCH] Remove delete for pathfinding pointer (not using pointers, no longer necessary) --- Adventures in Lestoria/AdventuresInLestoria.cpp | 1 - Adventures in Lestoria/Version.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Adventures in Lestoria/AdventuresInLestoria.cpp b/Adventures in Lestoria/AdventuresInLestoria.cpp index edc0e14a..322b252e 100644 --- a/Adventures in Lestoria/AdventuresInLestoria.cpp +++ b/Adventures in Lestoria/AdventuresInLestoria.cpp @@ -2201,7 +2201,6 @@ bool AiL::OnUserDestroy(){ for(auto&[key,value]:GameState::states){ delete value; } - delete[]pathfinder.nodes; Menu::CleanupAllMenus(); for(auto&[key,value]:MonsterData::imgs){ delete value; diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 93f91c7f..66073852 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 0 #define VERSION_MINOR 2 #define VERSION_PATCH 1 -#define VERSION_BUILD 5583 +#define VERSION_BUILD 5586 #define stringify(a) stringify_(a) #define stringify_(a) #a