mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 22:34:21 +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:
1 parent
d09b0d6d84
commit
6148550472
1 file changed
+1
-1
@@ -1683,7 +1683,7 @@ void scriptclass::run(void)
|
||||
}
|
||||
else if (words[0] == "setactivityposition")
|
||||
{
|
||||
obj.customactivitypositiony = ss_toi(words[2]);
|
||||
obj.customactivitypositiony = ss_toi(words[1]);
|
||||
}
|
||||
else if (words[0] == "createrescuedcrew")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user