[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/ui mainscr.c
From: |
Martin Renold |
Subject: |
[Stratagus-CVS] stratagus/src/ui mainscr.c |
Date: |
Mon, 13 Oct 2003 05:38:02 -0400 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Martin Renold <address@hidden> 03/10/13 05:38:02
Modified files:
src/ui : mainscr.c
Log message:
temporary warning fix
Patches:
Index: stratagus/src/ui/mainscr.c
diff -u stratagus/src/ui/mainscr.c:1.131 stratagus/src/ui/mainscr.c:1.132
--- stratagus/src/ui/mainscr.c:1.131 Mon Oct 13 00:43:18 2003
+++ stratagus/src/ui/mainscr.c Mon Oct 13 05:38:01 2003
@@ -27,7 +27,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: mainscr.c,v 1.131 2003/10/13 04:43:18 jsalmon3 Exp $
+// $Id: mainscr.c,v 1.132 2003/10/13 09:38:01 martinxyz Exp $
//@{
@@ -202,7 +202,11 @@
VideoDrawText(TheUI.SingleSelectedTextX, TheUI.SingleSelectedTextY,
TheUI.SingleSelectedFont, TheUI.SingleSelectedText);
}
- if (TheUI.SingleSelectedButton) {
+
+ // FIXME: allow without button
+ //if (TheUI.SingleSelectedButton) {
+ DebugCheck(!TheUI.SingleSelectedButton);
+ if (1) {
x = TheUI.SingleSelectedButton->X;
y = TheUI.SingleSelectedButton->Y;
DrawUnitIcon(unit->Player, type->Icon.Icon,