Remove delete for pathfinding pointer (not using pointers, no longer necessary)

pull/30/head
sigonasr2 11 months ago
parent 8e58607fb9
commit 72916e788a
  1. 1
      Adventures in Lestoria/AdventuresInLestoria.cpp
  2. 2
      Adventures in Lestoria/Version.h

@ -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;

@ -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

Loading…
Cancel
Save