mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 18:55:29 +02:00
Various code improvements
* Camera: Fix division by 0 after view bobbing * Remove ignored constness * Connection: Improve window size range limits
This commit is contained in:
@@ -84,7 +84,7 @@ public:
|
||||
void showTranslatedStatusText(const char *str);
|
||||
inline void clearStatusText() { m_statustext.clear(); }
|
||||
|
||||
const bool isChatVisible()
|
||||
bool isChatVisible()
|
||||
{
|
||||
return m_flags.show_chat && m_recent_chat_count != 0 && m_profiler_current_page == 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user