Remove unneeded rewind test in skidmarks

This commit is contained in:
Benau 2018-04-20 17:22:33 +08:00
parent 3772045f99
commit afa647ac90

View File

@ -29,7 +29,6 @@
#include "graphics/sp/sp_per_object_uniform.hpp"
#include "graphics/sp/sp_shader_manager.hpp"
#include "graphics/sp/sp_uniform_assigner.hpp"
#include "network/rewind_manager.hpp"
#include "physics/btKart.hpp"
#include "utils/mini_glm.hpp"
@ -76,7 +75,7 @@ void SkidMarks::update(float dt, bool force_skid_marks,
video::SColor* custom_color)
{
//if the kart is gnu, then don't skid because he floats!
if (m_kart.isWheeless() || RewindManager::get()->isRewinding())
if (m_kart.isWheeless())
return;
float f = dt / stk_config->m_skid_fadeout_time;