diff options
author | krzys-h <krzys_h@interia.pl> | 2014-07-24 22:17:49 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-07-24 22:17:49 +0200 |
commit | 7131abd385bb370328e7c59e8a6b70d160b2effc (patch) | |
tree | b2f4313fa45eefeda6cb1ee38bf48950584c5c71 /src/ui/gauge.cpp | |
parent | 02ba358a892b9977250ea345c42f8226f89ba250 (diff) | |
download | colobot-7131abd385bb370328e7c59e8a6b70d160b2effc.tar.gz colobot-7131abd385bb370328e7c59e8a6b70d160b2effc.tar.bz2 colobot-7131abd385bb370328e7c59e8a6b70d160b2effc.zip |
Fixed SatCom image loading
Now LoadTexture/SetTexture functions require full path with "textures/" directory
Diffstat (limited to 'src/ui/gauge.cpp')
-rw-r--r-- | src/ui/gauge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/gauge.cpp b/src/ui/gauge.cpp index 73585d3..170db5b 100644 --- a/src/ui/gauge.cpp +++ b/src/ui/gauge.cpp @@ -75,7 +75,7 @@ void CGauge::Draw() if ( (m_state & STATE_VISIBLE) == 0 ) return; - m_engine->SetTexture("interface/button2.png"); + m_engine->SetTexture("textures/interface/button2.png"); m_engine->SetState(Gfx::ENG_RSTATE_NORMAL); dp = 0.5f/256.0f; |