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); 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; if (!(netgame || multiplayer))
players->gotcontinue = true; {
if (P_IsLocalPlayer(player)) player->continues += 1;
S_StartSound(NULL, sfx_s3kac); players->gotcontinue = true;
if (P_IsLocalPlayer(player))
S_StartSound(NULL, sfx_s3kac);
}
} }
else
token++;
} }
else
token++;
break; break;
// Emerald Hunt // Emerald Hunt

View file

@ -9503,10 +9503,6 @@ void P_SpawnMapThing(mapthing_t *mthing)
if (i == MT_STARPOST) if (i == MT_STARPOST)
return; return;
// Emerald Tokens -->> Score Tokens
else if (i == MT_TOKEN)
return; /// \todo
// 1UPs -->> Score TVs // 1UPs -->> Score TVs
else if (i == MT_1UP_BOX) // 1UP else if (i == MT_1UP_BOX) // 1UP
{ {