Fixed potential buffer overflow found by Rich

This commit is contained in:
2025-01-16 10:05:29 -05:00
parent 0a254808c4
commit e2e6918c3b

View File

@@ -3,7 +3,7 @@
namespace CaveGame::Core
{
std::array<Tile*, 65535> registered_tiles{};
std::array<Tile*, 65536> registered_tiles{};
void Tile::DecayTo(ITileMap *world, TileState state, int x, int y, TileID TDecaysTo) {