1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Fix mixed indentation in Scripts.cpp

Only 3 lines, which is really impressive and the lowest amount of mixed
indentation so far.
This commit is contained in:
Misa 2020-04-02 14:24:40 -07:00 committed by Ethan Lee
parent c33caefae8
commit b0e1079611

View file

@ -14,7 +14,7 @@ void scriptclass::load(std::string t)
commands.clear();
running = true;
int maxlength = (std::min(int(t.length()),7));
int maxlength = (std::min(int(t.length()),7));
std::string customstring="";
for(int i=0; i<maxlength; i++){
customstring+=t[i];
@ -694,7 +694,7 @@ void scriptclass::load(std::string t)
add("endcutscene()");
add("untilbars()");
return;
return;
}
if (t == "communicationstation")
{
@ -1091,7 +1091,7 @@ void scriptclass::load(std::string t)
add("changeplayercolour(yellow)");
add("gotoroom(15,9)");
//(6*8)-21
//(6*8)-21
add("gotoposition(300,27,0)");
add("hideplayer()");