Console: Make truncation explicit within proc()

Makes floating-point truncation explicit.
This commit is contained in:
Lioncash 2019-10-21 01:40:30 -04:00
parent 358acfe944
commit 78aa42032a
1 changed files with 2 additions and 2 deletions

View File

@ -189,11 +189,11 @@ void Console::init(boo::IWindow* window) {
void Console::proc() {
if (m_conHeight->isModified()) {
m_cachedConHeight = m_conHeight->toReal();
m_cachedConHeight = float(m_conHeight->toReal());
}
if (m_conSpeed->isModified()) {
m_cachedConSpeed = m_conSpeed->toReal();
m_cachedConSpeed = float(m_conSpeed->toReal());
}
if (m_state == State::Opened) {