Permalink
Browse files

Fix display of mission end backdrop.

  • Loading branch information...
KJeff01 committed Dec 2, 2017
1 parent e26b951 commit 9efc45a48b6ef906d628d80a2a57cae998d6f1e1
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/mission.cpp
View
@@ -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"
@@ -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;

0 comments on commit 9efc45a

Please sign in to comment.