TerryCavanagh / VVVVVV

The source code to VVVVVV! http://thelettervsixtim.es/
Other
7k stars 559 forks source link

Fix setactivityposition still taking two arguments #980

Closed Daaaav closed 1 year ago

Daaaav commented 1 year ago

Changes:

This command was changed from setactivityposition(x,y) to setactivityposition(y) in acca4747f73f066e002a74db5dd2edaacc8ea8d2, but there's a small problem here:

             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.

Legal Stuff:

By submitting this pull request, I confirm that...