summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-08-06 00:31:39 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-08-06 00:31:39 +0800
commitf954b3b48d1747e18e75903f3aacbd5ba0fb1f41 (patch)
treebf89d41915e976603d7792ad63c76e06857b6984
parentc60e3ea388cf9a77a4626b2d4b55c5272654f89d (diff)
downloaddrunken-f954b3b48d1747e18e75903f3aacbd5ba0fb1f41.tar.gz
drunken-f954b3b48d1747e18e75903f3aacbd5ba0fb1f41.tar.bz2
Damage the screen to kick off paint functions.
-rw-r--r--src/drunken.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drunken.cpp b/src/drunken.cpp
index c57a51a..faa05ed 100644
--- a/src/drunken.cpp
+++ b/src/drunken.cpp
@@ -97,6 +97,8 @@ DrunkenScreen::toggle ()
{
mEnabled = !mEnabled;
+ cScreen->damageScreen ();
+
toggleFunctions (mEnabled);
return true;