diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp index 2b5cfbd7..b564392f 100644 --- a/desktop_version/src/Script.cpp +++ b/desktop_version/src/Script.cpp @@ -11,8 +11,6 @@ scriptclass::scriptclass() //Start SDL //Init - words.resize(40); - position = 0; scriptdelay = 0; running = false; diff --git a/desktop_version/src/Script.h b/desktop_version/src/Script.h index 038bd709..ae7b727d 100644 --- a/desktop_version/src/Script.h +++ b/desktop_version/src/Script.h @@ -49,7 +49,7 @@ public: //Script contents std::vector commands; - std::vector words; + std::string words[40]; std::vector txt; std::string scriptname; int position;