mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
Make special stage tallies do the token noise if you cash in a token!
This commit is contained in:
parent
d9b5155e6e
commit
0fbebcaa08
1 changed files with 3 additions and 3 deletions
|
@ -825,7 +825,7 @@ void Y_Ticker(void)
|
|||
{
|
||||
tallydonetic = intertic;
|
||||
endtic = intertic + 3*TICRATE; // 3 second pause after end of tally
|
||||
S_StartSound(NULL, sfx_chchng); // cha-ching!
|
||||
S_StartSound(NULL, (gottoken ? sfx_token : sfx_chchng)); // cha-ching!
|
||||
|
||||
// Update when done with tally
|
||||
if ((!modifiedgame || savemoddata) && !(netgame || multiplayer) && !demoplayback)
|
||||
|
@ -870,7 +870,7 @@ void Y_Ticker(void)
|
|||
if ((intertic - tallydonetic) > (3*TICRATE)/2)
|
||||
{
|
||||
endtic = intertic + 4*TICRATE; // 4 second pause after end of tally
|
||||
S_StartSound(NULL, sfx_s3kac); // cha-ching!
|
||||
S_StartSound(NULL, sfx_s3kac); // bingly-bingly-bing!
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -890,7 +890,7 @@ void Y_Ticker(void)
|
|||
if (!(data.spec.continues & 0x80)) // don't set endtic yet!
|
||||
endtic = intertic + 4*TICRATE; // 4 second pause after end of tally
|
||||
|
||||
S_StartSound(NULL, sfx_chchng); // cha-ching!
|
||||
S_StartSound(NULL, (gottoken ? sfx_token : sfx_chchng)); // cha-ching!
|
||||
|
||||
// Update when done with tally
|
||||
if ((!modifiedgame || savemoddata) && !(netgame || multiplayer) && !demoplayback)
|
||||
|
|
Loading…
Reference in a new issue