mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 22:34:21 +03:00
Update player lerpoldxp/yp in moveplayer()
Just like gotoposition(), the player would otherwise appear to "zip" after the command got run. This did not happen in the previous loop order.
This commit is contained in:
1 parent
c8537beac1
commit
32be2fcd81
1 file changed
+2
@@ -107,6 +107,8 @@ void scriptclass::run(void)
|
|||||||
{
|
{
|
||||||
obj.entities[player].xp += ss_toi(words[1]);
|
obj.entities[player].xp += ss_toi(words[1]);
|
||||||
obj.entities[player].yp += ss_toi(words[2]);
|
obj.entities[player].yp += ss_toi(words[2]);
|
||||||
|
obj.entities[player].lerpoldxp = obj.entities[player].xp;
|
||||||
|
obj.entities[player].lerpoldyp = obj.entities[player].yp;
|
||||||
}
|
}
|
||||||
scriptdelay = 1;
|
scriptdelay = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user