summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine
diff options
context:
space:
mode:
authorMohamed Waheed <mohamedwaheedmohamed@gmail.com>2014-06-24 20:27:31 +0300
committerMohamed Waheed <mohamedwaheedmohamed@gmail.com>2014-06-24 20:27:31 +0300
commitb7125a5b24bc6d2581bec0d3f792ba948e0e7edd (patch)
tree4770e1157e82b584611560b4f43a506571a88397 /src/graphics/engine
parent613e1d74c47cf3a756af9aff75575c7567699381 (diff)
downloadcolobot-b7125a5b24bc6d2581bec0d3f792ba948e0e7edd.tar.gz
colobot-b7125a5b24bc6d2581bec0d3f792ba948e0e7edd.tar.bz2
colobot-b7125a5b24bc6d2581bec0d3f792ba948e0e7edd.zip
formatting and enhancements for savefile screenshot feature
Diffstat (limited to 'src/graphics/engine')
-rw-r--r--src/graphics/engine/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp
index 9216fb0..e0861d2 100644
--- a/src/graphics/engine/engine.cpp
+++ b/src/graphics/engine/engine.cpp
@@ -428,7 +428,7 @@ bool CEngine::WriteScreenShot(const std::string& fileName, int width, int height
CImage img({width,height});
img.SetDataPixels(pixels);
- img.flipVertical();
+ img.flipVertically();
if ( img.SavePNG(fileName.c_str()) ){
GetLogger()->Info("Save SceenShot Saved Successfully!\n");