mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -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()");
|
||||
|
||||
Reference in New Issue
Block a user