mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Disable hardcoded (10,5) no-follow rule in custom levels
Scripting crewmates apparently have a specific hardcoded rule in their follow-player code that makes it so if they're in (10,5) and are to the left of the line x=155, they will refuse to continue following the player. This was clearly done to make it so Vitellary in the main game wouldn't overlap the teleporter, and that was clearly done to make it so it wouldn't look like he would go behind the teleporter, which would look weird (I also noticed this in #513). I stumbled across this code and thought that just like other weird main-game code that shouldn't apply in custom levels (#136, #137, #144), this should be fixed, too.
This commit is contained in:
parent
c590c4b436
commit
61fc06bc3b
1 changed files with 1 additions and 1 deletions
|
@ -2773,7 +2773,7 @@ bool entityclass::updateentities( int i )
|
|||
}
|
||||
|
||||
//Special rules:
|
||||
if (game.roomx == 110 && game.roomy == 105)
|
||||
if (game.roomx == 110 && game.roomy == 105 && !map.custommode)
|
||||
{
|
||||
if (entities[i].xp < 155)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue