From e2e6918c3bddbe165efd1ab2b577b2d6a8a03793 Mon Sep 17 00:00:00 2001 From: maxine Date: Thu, 16 Jan 2025 10:05:29 -0500 Subject: [PATCH] Fixed potential buffer overflow found by Rich --- Core/src/Core/Tile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/Core/Tile.cpp b/Core/src/Core/Tile.cpp index af32f9a..ed971a5 100644 --- a/Core/src/Core/Tile.cpp +++ b/Core/src/Core/Tile.cpp @@ -3,7 +3,7 @@ namespace CaveGame::Core { - std::array registered_tiles{}; + std::array registered_tiles{}; void Tile::DecayTo(ITileMap *world, TileState state, int x, int y, TileID TDecaysTo) {