Commit a73c2964 authored by Clément Stenac's avatar Clément Stenac

Don't crash

parent 059c0ff3
......@@ -63,5 +63,6 @@ void InputManager::update()
void InputManager::sliderUpdate( float new_pos )
{
if( p_input && !p_input->b_die && !p_input->b_dead )
var_SetFloat( p_input, "position", new_pos );
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment