mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -792,10 +792,13 @@ void mapclass::resetplayer()
|
||||
obj.entities[i].colour = 0;
|
||||
game.lifeseq = 10;
|
||||
obj.entities[i].invis = true;
|
||||
obj.entities[i].size = 0;
|
||||
obj.entities[i].cx = 6;
|
||||
obj.entities[i].cy = 2;
|
||||
obj.entities[i].h = 21;
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user