- fixed RRRA summary screens.

This commit is contained in:
Christoph Oelckers 2020-08-14 22:31:54 +02:00
parent 37ea207d5a
commit 2403e8cb2c
2 changed files with 2 additions and 3 deletions

View file

@ -157,7 +157,7 @@ public:
} }
ototalclock += delay; ototalclock += delay;
for (int i = 0; animSnd[i].framenum >= 0; i++) if (animSnd) for (int i = 0; animSnd[i].framenum >= 0; i++)
{ {
if (animSnd[i].framenum == curframe) if (animSnd[i].framenum == curframe)
{ {

View file

@ -706,8 +706,7 @@ void cameratext(int i)
void dobonus(int bonusonly, const CompletionFunc& completion) void dobonus(int bonusonly, const CompletionFunc& completion)
{ {
if (isRRRA()) { if (completion) completion(false); } if (isRR()) dobonus_r(bonusonly, completion);
else if (isRR()) dobonus_r(bonusonly, completion);
else dobonus_d(bonusonly, completion); else dobonus_d(bonusonly, completion);
} }