patch tcltk/tkmap.c
mniw
mniw@sol.dti.ne.jp
Mon Apr 8 07:40:00 GMT 2002
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
More information about the Xconq7
mailing list