mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01: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:
parent
f28fcd78e8
commit
56b2f43ff8
2 changed files with 2 additions and 3 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
|
@ -57,8 +57,6 @@ public:
|
|||
|
||||
int scriptdelay;
|
||||
bool running, dontrunnextframe;
|
||||
std::string tempword;
|
||||
std::string currentletter;
|
||||
|
||||
//Textbox stuff
|
||||
int textx;
|
||||
|
|
Loading…
Reference in a new issue