mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 14:53:37 +00:00
fix #4826 gui1 tooltips part 2
This commit is contained in:
parent
a5437b408f
commit
fe31bb9973
@ -71,7 +71,7 @@ public:
|
||||
|
||||
surface create_surface();
|
||||
|
||||
bool expired(int time) const { return get_time_alive(time) > lifetime_; }
|
||||
bool expired(int time) const { return lifetime_ >= 0 && get_time_alive(time) > lifetime_; }
|
||||
|
||||
void show(const bool value) { visible_ = value; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user