mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add changerespawncolour() script command
This command simply changes the color that the player respawns with upon death. The respawn color also persists through custom save files. Closes #830.
This commit is contained in:
@@ -833,7 +833,7 @@ void mapclass::resetplayer(const bool player_died)
|
||||
obj.entities[i].newyp = obj.entities[i].yp;
|
||||
|
||||
obj.entities[i].dir = game.savedir;
|
||||
obj.entities[i].colour = 0;
|
||||
obj.entities[i].colour = game.respawncolour;
|
||||
if (player_died)
|
||||
{
|
||||
game.lifeseq = 10;
|
||||
|
||||
Reference in New Issue
Block a user