summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-01 04:17:05 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-01 17:20:41 +0300
commitc508209585cc7153d77d22ddb7b4ce6a291d00de (patch)
tree124338089a53a9aafd32851743f8e90be33123b1 /src/progs
parentcec43b2dca390a30ee71154a372f03ab498e18c2 (diff)
downloadManaVerse-c508209585cc7153d77d22ddb7b4ce6a291d00de.tar.gz
ManaVerse-c508209585cc7153d77d22ddb7b4ce6a291d00de.tar.bz2
ManaVerse-c508209585cc7153d77d22ddb7b4ce6a291d00de.tar.xz
ManaVerse-c508209585cc7153d77d22ddb7b4ce6a291d00de.zip
Replace some status methods usage from member pointers to static member calls.
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/dyecmd/client.cpp2
-rw-r--r--src/progs/manaplus/client.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
index 199f91ecd..d63e16a90 100644
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -358,7 +358,7 @@ void Client::gameInit()
mSkin = theme->load("windowmenu.xml",
"",
true,
- theme->getThemePath());
+ Theme::getThemePath());
if (mSkin != nullptr)
{
mButtonPadding = mSkin->getPadding();
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 89de4cb5b..ef47a418e 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -538,7 +538,7 @@ void Client::gameInit()
mSkin = theme->load("windowmenu.xml",
"",
true,
- theme->getThemePath());
+ Theme::getThemePath());
if (mSkin != nullptr)
{
mButtonPadding = mSkin->getPadding();