mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Fix setactivityposition still taking two arguments
This command was changed from setactivityposition(x,y) to setactivityposition(y), but there's a small problem here: ```diff else if (words[0] == "setactivityposition") { - obj.customactivitypositionx = ss_toi(words[1]); obj.customactivitypositiony = ss_toi(words[2]); } ``` This meant that the function still took two arguments, the first of which was unused and the second of which was the Y position of the activity zone. This is now fixed.
This commit is contained in:
parent
d09b0d6d84
commit
6148550472
1 changed files with 1 additions and 1 deletions
|
@ -1683,7 +1683,7 @@ void scriptclass::run(void)
|
||||||
}
|
}
|
||||||
else if (words[0] == "setactivityposition")
|
else if (words[0] == "setactivityposition")
|
||||||
{
|
{
|
||||||
obj.customactivitypositiony = ss_toi(words[2]);
|
obj.customactivitypositiony = ss_toi(words[1]);
|
||||||
}
|
}
|
||||||
else if (words[0] == "createrescuedcrew")
|
else if (words[0] == "createrescuedcrew")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue