From 00cb0335942ac7258361eb50d542e3fcc813991f Mon Sep 17 00:00:00 2001 From: Misa Date: Fri, 3 Jul 2020 02:33:33 -0700 Subject: [PATCH] Turn map.specialnames into an array instead of a vector Easiest de-vectoring I've had to do yet. --- desktop_version/src/Map.cpp | 1 - desktop_version/src/Map.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop_version/src/Map.cpp b/desktop_version/src/Map.cpp index 6691fc89..545cca9d 100644 --- a/desktop_version/src/Map.cpp +++ b/desktop_version/src/Map.cpp @@ -71,7 +71,6 @@ mapclass::mapclass() tileset = 0; initmapdata(); - specialnames.resize(8); resetnames(); ypos = 0; diff --git a/desktop_version/src/Map.h b/desktop_version/src/Map.h index 3c6fa09c..d817132a 100644 --- a/desktop_version/src/Map.h +++ b/desktop_version/src/Map.h @@ -132,7 +132,7 @@ public: int customzoom; bool customshowmm; - std::vector specialnames; + std::string specialnames[8]; int glitchmode; int glitchdelay; std::string glitchname;