mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-16 01:31:30 +00:00
Clean up the event and caption when a life is transferred.
This commit is contained in:
parent
fb00691324
commit
1f2743ce64
2 changed files with 2 additions and 2 deletions
|
@ -8179,7 +8179,7 @@ boolean P_GetLives(player_t *player)
|
|||
}
|
||||
if (maxlivesplayer != -1 && &players[maxlivesplayer] != player)
|
||||
{
|
||||
if (cv_cooplives.value == 2 && P_IsLocalPlayer(&players[maxlivesplayer]))
|
||||
if (cv_cooplives.value == 2 && (P_IsLocalPlayer(player) || P_IsLocalPlayer(&players[maxlivesplayer])))
|
||||
S_StartSound(NULL, sfx_jshard); // placeholder
|
||||
players[maxlivesplayer].lives--;
|
||||
player->lives++;
|
||||
|
|
|
@ -154,7 +154,7 @@ sfxinfo_t S_sfx[NUMSFX] =
|
|||
{"gravch", false, 64, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Recycler"},
|
||||
{"itemup", true, 255, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Sparkle"},
|
||||
{"jet", false, 8, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Jet engine"},
|
||||
{"jshard", true, 167, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Got shard"},
|
||||
{"jshard", true, 167, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Life transfer"}, // placeholder repurpose; original string was "Got Shard"
|
||||
{"lose" , false, 127, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Failure"},
|
||||
{"lvpass", false, 96, 0, -1, NULL, 0, -1, -1, LUMPERROR, "Spinning signpost"},
|
||||
{"mindig", false, 8, 64, -1, NULL, 0, -1, -1, LUMPERROR, "Tunnelling"},
|
||||
|
|
Loading…
Reference in a new issue