mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Make scriptclass::load(other) rely less on std::string
Instead of comparing against an std::string (which is heavily templated), just use good ol' SDL_strcmp().
This commit is contained in:
@@ -22,9 +22,9 @@ public:
|
||||
|
||||
scriptclass();
|
||||
|
||||
void load(std::string t);
|
||||
void loadother(std::string t);
|
||||
|
||||
void load(std::string name);
|
||||
void loadother(const char* t);
|
||||
void loadcustom(std::string t);
|
||||
|
||||
void inline add(std::string t)
|
||||
{
|
||||
@@ -45,8 +45,6 @@ public:
|
||||
|
||||
void hardreset();
|
||||
|
||||
void loadcustom(std::string t);
|
||||
|
||||
//Script contents
|
||||
std::vector<std::string> commands;
|
||||
std::string words[40];
|
||||
|
||||
Reference in New Issue
Block a user