mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add x-room = 13 check to entity 1 behave 13
This check is clearly meant for destroying the factory clouds in the room "Level Complete!" in the main game, but it covers all rooms on row 8, instead of only (13,8). Adding an x-room check restricts this behavior to only (13,8). Trinket9 reported that this weird behavior of destroying specifically above y-position 60 was undesirable, since they were creating an enemy with this `behave` in a room on row 8 and it kept disappearing instantly.
This commit is contained in:
@@ -2361,7 +2361,7 @@ bool entityclass::updateentities( int i )
|
|||||||
{
|
{
|
||||||
return removeentity(i);
|
return removeentity(i);
|
||||||
}
|
}
|
||||||
if (game.roomy == 108)
|
if (game.roomx == 113 && game.roomy == 108)
|
||||||
{
|
{
|
||||||
if (entities[i].yp <= 60)
|
if (entities[i].yp <= 60)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user