Complete.Org: Mailing Lists: Archives: freeciv-dev: January 1999:
[Freeciv-Dev] Bug: flags in unit help
Home

[Freeciv-Dev] Bug: flags in unit help

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Bug: flags in unit help
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Sun, 10 Jan 1999 02:29:04 -0500

>Can anyone work out why the race flag no longer shows up behind the
>unit icons in the help dialog for units?  I think it broke when the
>diagonal roads patch went in, but I can't see what's wrong.
>Flags work ok in other respects (the main map etc), but the
>relevant function create_overlay_unit() is only used in helpdlg.c

Sorry!  I missed a #define in graphics.c.  A one-line patch is appended.

jjm


Index: graphics.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/graphics.c,v
retrieving revision 1.13
diff -u -r1.13 graphics.c
--- graphics.c  1999/01/10 04:06:24     1.13
+++ graphics.c  1999/01/10 07:16:30
@@ -42,7 +42,7 @@
extern XFontStruct *main_font_struct;
extern int use_solid_color_behind_units;
 
-#define FLAG_TILES       14*20
+#define FLAG_TILES       12*20
 
struct Sprite **tile_sprites;
struct Sprite *intro_gfx_sprite;



jjm



[Prev in Thread] Current Thread [Next in Thread]