summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-15 12:22:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-15 12:22:09 +0300
commit2971fb33f5a31d3e2400e1637e16216e4c4a1a1c (patch)
tree2de8b84c8a5c3b40fa7608d8125b962cf18311bd /src/client.cpp
parent1c9df7b5139f80a85333f9ab88a9500381be1690 (diff)
downloadmanaverse-2971fb33f5a31d3e2400e1637e16216e4c4a1a1c.tar.gz
manaverse-2971fb33f5a31d3e2400e1637e16216e4c4a1a1c.tar.bz2
manaverse-2971fb33f5a31d3e2400e1637e16216e4c4a1a1c.tar.xz
manaverse-2971fb33f5a31d3e2400e1637e16216e4c4a1a1c.zip
reload background image if reconnecting to other server.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 133be841f..289b4df0b 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -3033,6 +3033,12 @@ bool Client::isKeyboardVisible() const
#endif
}
+void Client::reloadWallpaper()
+{
+ if (mDesktop)
+ mDesktop->reloadWallpaper();
+}
+
#ifdef ANDROID
#ifdef USE_SDL2
void Client::extractAssets()