[colobot] 112/145: Do not rotate after changing autosave settings

Didier Raboud odyx at moszumanska.debian.org
Mon Jul 11 12:56:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit 7ce23fdf52f521b460e3a3522f353ee2431a3b88
Author: krzys-h <krzys_h at interia.pl>
Date:   Fri Jun 17 22:39:45 2016 +0200

    Do not rotate after changing autosave settings
    
    See https://github.com/colobot/colobot/pull/789#discussion_r67570610
---
 src/level/robotmain.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp
index 8019786..760d1d5 100644
--- a/src/level/robotmain.cpp
+++ b/src/level/robotmain.cpp
@@ -5457,7 +5457,6 @@ void CRobotMain::SetAutosave(bool enable)
 
     m_autosave = enable;
     m_autosaveLast = m_gameTimeAbsolute;
-    AutosaveRotate();
 }
 
 bool CRobotMain::GetAutosave()
@@ -5483,7 +5482,6 @@ void CRobotMain::SetAutosaveSlots(int slots)
     if (m_autosaveSlots == slots) return;
 
     m_autosaveSlots = slots;
-    AutosaveRotate();
 }
 
 int CRobotMain::GetAutosaveSlots()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list