mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59: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:
parent
2333087c27
commit
d88b603019
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue