summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index fa3c03526..28e5b9fc3 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -23,6 +23,7 @@
#include "dropshortcut.h"
#include "emoteshortcut.h"
#include "game.h"
+#include "graphics.h"
#include "inputevent.h"
#include "itemshortcut.h"
#include "inputmanager.h"
@@ -1029,4 +1030,12 @@ impHandler0(targetNPC)
return setTarget(ActorSprite::NPC);
}
+impHandler0(safeVideoMode)
+{
+ if (mainGraphics)
+ mainGraphics->setFullscreen(false);
+
+ return true;
+}
+
}