This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
patch tcltk/tkmap.c
- From: mniw at sol dot dti dot ne dot jp (mniw)
- To: xconq7 at sources dot redhat dot com
- Date: Mon, 8 Apr 2002 23:42:00 +0900 (JST)
- Subject: patch tcltk/tkmap.c
a health bar is not cleared completely in games which use 'bigicon'.
--- tkmap.c.orig Mon Apr 8 22:57:25 2002
+++ tkmap.c Mon Apr 8 22:57:48 2002
@@ -4330,6 +4330,10 @@
if (mapw->rsw == -2) {
mapw->rsx = sx; mapw->rsy = sy;
mapw->rsw = sw; mapw->rsh = sh;
+ if (g_bigicons()) {
+ mapw->rsx -= 3; mapw->rsy -= 3;
+ mapw->rsw += 6; mapw->rsh += 6;
+ }
} else if (mapw->rsw == -1) {
/* do nothing, already drawing whole map */
} else {
--
MA dunzi <mniw@sol.dti.ne.jp> http://tadalunch.s5.xrea.com/xconq/index.html