temporary warning fix

This commit is contained in:
martinxyz 2003-10-13 08:38:01 +00:00
parent 92848f2972
commit 6da8e5f475

View file

@ -202,7 +202,11 @@ global void DrawUnitInfo(const Unit* unit)
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,