aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/animation.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp
index ed4a85a7d5..18eef79874 100644
--- a/engines/agos/animation.cpp
+++ b/engines/agos/animation.cpp
@@ -39,6 +39,8 @@
#include "sound/audiostream.h"
#include "sound/wave.h"
+#include "gui/message.h"
+
namespace AGOS {
MoviePlayer::MoviePlayer(AGOSEngine *vm)
@@ -533,6 +535,12 @@ MoviePlayer *makeMoviePlayer(AGOSEngine *vm, const char *name) {
return new MoviePlayerSMK(vm, baseName);
}
+ char buf[60];
+
+ sprintf(buf, "Cutscene file '%s' not found", baseName);
+ GUI::MessageDialog dialog(buf, "OK");
+ dialog.runModal();
+
return NULL;
}