From 4e0f217fc8cdf25f147cd3e99817f0daa2b66b3c Mon Sep 17 00:00:00 2001 From: Benau Date: Sun, 27 Mar 2016 20:53:33 +0800 Subject: [PATCH] Remove unneeded cast --- src/karts/kart_gfx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/karts/kart_gfx.cpp b/src/karts/kart_gfx.cpp index 30c0bf1fc..5d6a830e0 100644 --- a/src/karts/kart_gfx.cpp +++ b/src/karts/kart_gfx.cpp @@ -403,7 +403,7 @@ void KartGFX::getGFXStatus(int* nitro, bool* zipper, if (m_all_emitters[KGFX_NITRO1]) { - n = (uint16_t)(m_all_emitters[KGFX_NITRO1]->getCreationRate()); + n = m_all_emitters[KGFX_NITRO1]->getCreationRate(); } if (m_all_emitters[KGFX_ZIPPER]) @@ -413,7 +413,7 @@ void KartGFX::getGFXStatus(int* nitro, bool* zipper, if (m_all_emitters[KGFX_SKIDL]) { - s = (uint16_t)(m_all_emitters[KGFX_SKIDL]->getCreationRate()); + s = m_all_emitters[KGFX_SKIDL]->getCreationRate(); r = m_skidding_light_2->isVisible(); }