Region system PR review changes

Fixes errors or oversights with the region system for the PR review
This commit is contained in:
mothbeanie
2024-11-03 15:20:33 -08:00
committed by Misa Elizabeth Kai
parent 1fb0afb99d
commit 54b2aaae96
5 changed files with 26 additions and 16 deletions

View File

@@ -3275,6 +3275,8 @@ void scriptclass::hardreset(void)
SDL_memset(map.roomdeaths, 0, sizeof(map.roomdeaths));
SDL_memset(map.roomdeathsfinal, 0, sizeof(map.roomdeathsfinal));
map.resetmap();
map.currentregion = 0;
SDL_zeroa(map.region);
//entityclass
obj.nearelephant = false;
obj.upsetmode = false;