mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Remove semi-useless function editorclass::weirdloadthing()
Looks like this function was created because editorclass::load() takes in a string by reference, not by value, and thus mutates it afterwards, so if you passed a string in when you didn't want it to be mutated, bad things would happen. However, a better workaround for the above issue would simply to duplicate the string and pass that string instead, thus the original string wouldn't be affected.
This commit is contained in:
@@ -140,7 +140,6 @@ class editorclass{
|
||||
int findwarptoken(int t);
|
||||
void countstuff();
|
||||
void findstartpoint();
|
||||
void weirdloadthing(std::string t);
|
||||
int getlevelcol(int t);
|
||||
int getenemycol(int t);
|
||||
int entcol;
|
||||
|
||||
Reference in New Issue
Block a user