aboutsummaryrefslogtreecommitdiff
path: root/games/hex-a-hop/files/patch-menus.h
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-30 09:20:15 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-30 09:20:15 +0000
commit27b27c697960e38de372e05cfd7f3cdc62eef879 (patch)
treebe105174a37a98825cc97c0b701c604aaf8a4042 /games/hex-a-hop/files/patch-menus.h
parent8e93b103e5b91a016acc022b761f27e920a3b819 (diff)
Notes
Diffstat (limited to 'games/hex-a-hop/files/patch-menus.h')
-rw-r--r--games/hex-a-hop/files/patch-menus.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/hex-a-hop/files/patch-menus.h b/games/hex-a-hop/files/patch-menus.h
new file mode 100644
index 000000000000..8bcb8052d3bb
--- /dev/null
+++ b/games/hex-a-hop/files/patch-menus.h
@@ -0,0 +1,11 @@
+--- menus.h.orig 2006-02-21 06:10:35.000000000 +0300
++++ menus.h 2008-09-14 21:34:41.711083734 +0400
+@@ -1073,7 +1073,7 @@
+ if (under)
+ under->Render();
+
+- RenderFade(time, dir, (int)this);
++ RenderFade(time, dir, reinterpret_cast<intptr_t>(this));
+ }
+ void Update(double timedelta)
+ {