mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01: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:
parent
05b7a38f76
commit
5faa86baae
1 changed files with 1 additions and 1 deletions
|
@ -2361,7 +2361,7 @@ bool entityclass::updateentities( int i )
|
|||
{
|
||||
return removeentity(i);
|
||||
}
|
||||
if (game.roomy == 108)
|
||||
if (game.roomx == 113 && game.roomy == 108)
|
||||
{
|
||||
if (entities[i].yp <= 60)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue