Skip to content

Commit

Permalink
Fix display of mission end backdrop.
Browse files Browse the repository at this point in the history
  • Loading branch information
KJeff01 committed Dec 2, 2017
1 parent e26b951 commit 9efc45a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/mission.cpp
Expand Up @@ -31,6 +31,7 @@
#include "lib/framework/math_ext.h"
#include "lib/ivis_opengl/bitimage.h"
#include "lib/ivis_opengl/pieblitfunc.h"
#include "lib/ivis_opengl/screen.h"
#include "lib/gamelib/gtime.h"
#include "lib/script/script.h"
#include "lib/sound/audio.h"
Expand Down Expand Up @@ -2244,7 +2245,11 @@ static bool _intAddMissionResult(bool result, bool bPlaySuccess)
// add some funky beats
cdAudio_PlayTrack(SONG_FRONTEND);

pie_LoadBackDrop(SCREEN_MISSIONEND);
if (!screen_GetBackDrop())
{
pie_LoadBackDrop(SCREEN_MISSIONEND);
}
screen_RestartBackDrop();

sFormInit.formID = 0;
sFormInit.id = IDMISSIONRES_BACKFORM;
Expand Down

0 comments on commit 9efc45a

Please sign in to comment.