1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

Move tempword and currentletter off of scriptclass

There's no reason for these temporary variables to be a permanent part
of the class itself.
This commit is contained in:
Misa 2020-07-02 16:03:40 -07:00 committed by Ethan Lee
parent f28fcd78e8
commit 56b2f43ff8
2 changed files with 2 additions and 3 deletions

View File

@ -37,7 +37,8 @@ void scriptclass::clearcustom(){
void scriptclass::tokenize( std::string t )
{
j = 0;
tempword = "";
std::string tempword;
std::string currentletter;
for (size_t i = 0; i < t.length(); i++)
{

View File

@ -57,8 +57,6 @@ public:
int scriptdelay;
bool running, dontrunnextframe;
std::string tempword;
std::string currentletter;
//Textbox stuff
int textx;