1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

Remove screenshot taken message

This commit is contained in:
Capostrophic 2018-06-14 22:08:53 +03:00 committed by GitHub
parent ccfc07e7e3
commit 1abf749f03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1036,7 +1036,6 @@ namespace MWInput
void InputManager::screenshot()
{
bool regularScreenshot = true;
bool screenshotTaken = false;
std::string settingStr;
@ -1047,7 +1046,6 @@ namespace MWInput
{
mScreenCaptureHandler->setFramesToCapture(1);
mScreenCaptureHandler->captureNextFrame(*mViewer);
screenshotTaken = true;
}
else
{
@ -1057,12 +1055,8 @@ namespace MWInput
{
(*mScreenCaptureOperation) (*(screenshot.get()),0);
// FIXME: mScreenCaptureHandler->getCaptureOperation() causes crash for some reason
screenshotTaken = true;
}
}
if (screenshotTaken)
MWBase::Environment::get().getWindowManager()->messageBox("Screenshot saved");
}
void InputManager::toggleInventory()