Turn areamap into plain array

For this one, I had to make it a static data member and then initialize
it in a certain way in Map.cpp. It's pretty cool that you're able to do
this.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-07-06 11:19:24 -04:00
1 parent cb3afa295a
commit a1d4523177
2 files changed
+9 -10

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ public:
int roomdeaths[20 * 20];
int roomdeathsfinal[20 * 20];
std::vector <int> areamap;
static const int areamap[20 * 20];
std::vector <int> contents;
bool explored[20 * 20];
std::vector <int> vmult;