mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
committed by
Misa Elizabeth Kai
parent
d09b0d6d84
commit
6148550472
@@ -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")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user