aboutsummaryrefslogtreecommitdiff
path: root/gui/recorderdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/recorderdialog.cpp')
-rw-r--r--gui/recorderdialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/recorderdialog.cpp b/gui/recorderdialog.cpp
index c08b3e149a..7e8e12bcf8 100644
--- a/gui/recorderdialog.cpp
+++ b/gui/recorderdialog.cpp
@@ -167,8 +167,7 @@ void RecorderDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
case kRecordCmd: {
TimeDate t;
Common::String gameId = ConfMan.get("gameid", _target);
- const EnginePlugin *plugin = 0;
- GameDescriptor desc = EngineMan.findGame(gameId, &plugin);
+ GameDescriptor desc = EngineMan.findGame(gameId);
g_system->getTimeAndDate(t);
EditRecordDialog editDlg(_("Unknown Author"), Common::String::format("%.2d.%.2d.%.4d ", t.tm_mday, t.tm_mon, 1900 + t.tm_year) + desc.description(), "");
if (editDlg.runModal() != kOKCmd) {