mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Un-fix hitbox persistence in map.resetplayer()
It's annoying for casuals to have to close the game if they manage to get themselves to turn into VVVVVV-Man, but it's amusing enough to glitchrunners that they mess about with VVVVVV-Man in the main game, clipping through walls everywhere (well, they call it Big Viridian, but still).
This commit is contained in:
parent
387ee4dc79
commit
e1a114d1a5
1 changed files with 7 additions and 4 deletions
|
@ -792,10 +792,13 @@ void mapclass::resetplayer()
|
|||
obj.entities[i].colour = 0;
|
||||
game.lifeseq = 10;
|
||||
obj.entities[i].invis = true;
|
||||
if (!game.glitchrunnermode)
|
||||
{
|
||||
obj.entities[i].size = 0;
|
||||
obj.entities[i].cx = 6;
|
||||
obj.entities[i].cy = 2;
|
||||
obj.entities[i].h = 21;
|
||||
}
|
||||
|
||||
// If we entered a tower as part of respawn, reposition camera
|
||||
if (!was_in_tower && towermode)
|
||||
|
|
Loading…
Reference in a new issue