mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -37,7 +37,8 @@ void scriptclass::clearcustom(){
|
|||||||
void scriptclass::tokenize( std::string t )
|
void scriptclass::tokenize( std::string t )
|
||||||
{
|
{
|
||||||
j = 0;
|
j = 0;
|
||||||
tempword = "";
|
std::string tempword;
|
||||||
|
std::string currentletter;
|
||||||
|
|
||||||
for (size_t i = 0; i < t.length(); i++)
|
for (size_t i = 0; i < t.length(); i++)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,8 +57,6 @@ public:
|
|||||||
|
|
||||||
int scriptdelay;
|
int scriptdelay;
|
||||||
bool running, dontrunnextframe;
|
bool running, dontrunnextframe;
|
||||||
std::string tempword;
|
|
||||||
std::string currentletter;
|
|
||||||
|
|
||||||
//Textbox stuff
|
//Textbox stuff
|
||||||
int textx;
|
int textx;
|
||||||
|
|||||||
Reference in New Issue
Block a user