Slow player down when mission is complete.
This commit is contained in:
parent
4df206d6b2
commit
ef6e65a51c
|
@ -210,6 +210,11 @@ static void handleKeyboard(void)
|
||||||
app.keyboard[SDL_SCANCODE_SPACE] = 0;
|
app.keyboard[SDL_SCANCODE_SPACE] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
player->dx *= 0.99;
|
||||||
|
player->dy *= 0.99;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handleMouse(void)
|
static void handleMouse(void)
|
||||||
|
|
Loading…
Reference in New Issue