From 75906b43ecb9a04fdab365bd8b1a00fbdbc66918 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 3 Oct 2010 19:57:17 +0000 Subject: ui updates, removed impulse and jumpgte g_devel conditions, jumpdrive crash bugfix --- src/client/targeticonbutton.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/targeticonbutton.cc') diff --git a/src/client/targeticonbutton.cc b/src/client/targeticonbutton.cc index 8bd3b1a..1ef2da0 100644 --- a/src/client/targeticonbutton.cc +++ b/src/client/targeticonbutton.cc @@ -33,7 +33,7 @@ bool TargetIconButton::on_keypress(const int key, const unsigned int modifier) void TargetIconButton::draw() { - enable(targets::current() && ((targets::current()->flags() & entity_flags) == entity_flags)); + set_enabled(targets::current() && ((targets::current()->flags() & entity_flags) == entity_flags)); ui::IconButton::draw(); } -- cgit v1.2.3