mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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].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)
|
if (obj.entities[i].state == 18)
|
||||||
{
|
{
|
||||||
//face the player
|
//face the player
|
||||||
|
|||||||
Reference in New Issue
Block a user