mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-24 19:52:08 +00:00
Since they give points now, make tokens spawn in record attack (and not add end-of-act tokens/continues).
This commit is contained in:
parent
65e3cdc1fb
commit
548c120534
2 changed files with 11 additions and 12 deletions
|
@ -581,18 +581,21 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
|||
|
||||
P_AddPlayerScore(player, 1000);
|
||||
|
||||
if (ALL7EMERALDS(emeralds)) // Got all 7
|
||||
if (!modeattacking) // score only there...
|
||||
{
|
||||
if (!(netgame || multiplayer))
|
||||
if (ALL7EMERALDS(emeralds)) // Got all 7
|
||||
{
|
||||
player->continues += 1;
|
||||
players->gotcontinue = true;
|
||||
if (P_IsLocalPlayer(player))
|
||||
S_StartSound(NULL, sfx_s3kac);
|
||||
if (!(netgame || multiplayer))
|
||||
{
|
||||
player->continues += 1;
|
||||
players->gotcontinue = true;
|
||||
if (P_IsLocalPlayer(player))
|
||||
S_StartSound(NULL, sfx_s3kac);
|
||||
}
|
||||
}
|
||||
else
|
||||
token++;
|
||||
}
|
||||
else
|
||||
token++;
|
||||
break;
|
||||
|
||||
// Emerald Hunt
|
||||
|
|
|
@ -9503,10 +9503,6 @@ void P_SpawnMapThing(mapthing_t *mthing)
|
|||
if (i == MT_STARPOST)
|
||||
return;
|
||||
|
||||
// Emerald Tokens -->> Score Tokens
|
||||
else if (i == MT_TOKEN)
|
||||
return; /// \todo
|
||||
|
||||
// 1UPs -->> Score TVs
|
||||
else if (i == MT_1UP_BOX) // 1UP
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue