[colobot] 232/390: Issue #396
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:21:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
odyx pushed a commit to branch upstream/latest
in repository colobot.
commit f8fe681dc52224073b89826aa687b4e3577a29cc
Author: Piotr Walkusz <piotrwalkusz1 at wp.pl>
Date: Tue Nov 18 20:07:00 2014 +0100
Issue #396
---
src/ui/maindialog.cpp | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index 7278805..4ffb29f 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -4084,6 +4084,15 @@ void CMainDialog::IOReadList()
pl->SetSelect(m_saveList.size());
pl->ShowSelect(false); // shows the selected columns
+
+ int i;
+ std::string screenName;
+
+ for ( i=0; i < m_saveList.size(); i++ )
+ {
+ screenName = "textures/../" + m_saveList.at(i) + "/screen.png";
+ m_engine->DeleteTexture(screenName);
+ }
}
// Updates the buttons according to the selected part in the list.
--
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