1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Fix 1 frame where sad crewmates' drawframes weren't updated

When I loaded the room where Vitellary is in Space Station 2, I saw this
1-frame glitch happen despite my previous efforts to prevent it. So now
it's fixed.
This commit is contained in:
Misa 2020-05-02 16:48:43 -07:00 committed by Ethan Lee
parent 2333087c27
commit d88b603019

View file

@ -1942,6 +1942,10 @@ void mapclass::loadlevel(int rx, int ry)
{
if (obj.entities[i].rule == 6 || obj.entities[i].rule == 7)
{
if (obj.entities[i].tile == 144 || obj.entities[i].tile == 144+6)
{
obj.entities[i].drawframe = 144;
}
if (obj.entities[i].state == 18)
{
//face the player