summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/color.cpp4
-rw-r--r--src/ui/maindialog.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/color.cpp b/src/ui/color.cpp
index a727642..2ba87a3 100644
--- a/src/ui/color.cpp
+++ b/src/ui/color.cpp
@@ -153,7 +153,7 @@ void CColor::Draw()
// color = GetColor(m_color);
color = GetColor();
- m_engine->SetTexture("xxx.png"); // no texture
+ m_engine->SetTexture(""); // no texture
m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
device = m_engine->GetDevice();
@@ -187,7 +187,7 @@ void CColor::Draw()
color = GetColor();
- m_engine->SetTexture("xxx.png"); // no texture
+ m_engine->SetTexture(""); // no texture
m_engine->SetState(Gfx::ENG_RSTATE_NORMAL);
vertex[0] = Gfx::VertexCol(Math::Vector(p1.x, p1.y, 0.0f), color, Gfx::Color(), Math::Point(0.0f, 0.0f));
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index 010e087..6395acf 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -4824,8 +4824,6 @@ void CMainDialog::UpdateSceneChap(int &chap)
pl->SetCheck(j, bPassed);
pl->SetEnable(j, true);
- continue;
-
if ( m_phase == PHASE_MISSION && !m_main->GetShowAll() && !bPassed )
{
j ++;