Since they give points now, make tokens spawn in record attack (and not add end-of-act tokens/continues).

This commit is contained in:
toasterbabe 2017-10-26 16:58:18 +01:00
parent 65e3cdc1fb
commit 548c120534
2 changed files with 11 additions and 12 deletions

View File

@ -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

View File

@ -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
{