diff --git a/src/console_gui.cpp b/src/console_gui.cpp index 7ea572230f..295d461d7e 100644 --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -99,7 +99,7 @@ struct IConsoleLine { return true; } - if (item->time != MAX_UVALUE(typeof(item->time))) item->time++; + if (item->time != MAX_UVALUE(uint16)) item->time++; } return false;