diff options
author | krzys-h <krzys_h@interia.pl> | 2014-07-10 16:25:40 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-07-10 16:25:40 +0200 |
commit | 106ec014b812c6f5eb93ea30c04b3bba333542dd (patch) | |
tree | 72b2fcf4bdc32ec82d3829fd4cab5185e5f9d61a /src/ui/shortcut.cpp | |
parent | 7b04f673580f0c24aecc103a25c4c4b82da1380f (diff) | |
download | colobot-106ec014b812c6f5eb93ea30c04b3bba333542dd.tar.gz colobot-106ec014b812c6f5eb93ea30c04b3bba333542dd.tar.bz2 colobot-106ec014b812c6f5eb93ea30c04b3bba333542dd.zip |
Fixed texture and script loading
Diffstat (limited to 'src/ui/shortcut.cpp')
-rw-r--r-- | src/ui/shortcut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/shortcut.cpp b/src/ui/shortcut.cpp index 8971e9d..456b69a 100644 --- a/src/ui/shortcut.cpp +++ b/src/ui/shortcut.cpp @@ -114,7 +114,7 @@ void CShortcut::Draw() zoom = 1.0f; } - m_engine->SetTexture("textures/interface/button3.png"); + m_engine->SetTexture("interface/button3.png"); if ( icon != -1 ) { @@ -130,7 +130,7 @@ void CShortcut::Draw() Math::Point p1, p2, c, uv1, uv2; float dp; - m_engine->SetTexture("textures/interface/button2.png"); + m_engine->SetTexture("interface/button2.png"); m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE); zoom = 0.9f+sinf(m_time*8.0f)*0.1f; @@ -170,7 +170,7 @@ void CShortcut::Draw() Math::Point uv1, uv2; float dp; - m_engine->SetTexture("textures/interface/button3.png"); + m_engine->SetTexture("interface/button3.png"); m_engine->SetState(Gfx::ENG_RSTATE_TTEXTURE_WHITE); uv1.x = 160.0f/256.0f; |