Slow player down when mission is complete.

This commit is contained in:
Steve 2016-02-27 16:15:41 +00:00
parent 4df206d6b2
commit ef6e65a51c
1 changed files with 5 additions and 0 deletions

View File

@ -210,6 +210,11 @@ static void handleKeyboard(void)
app.keyboard[SDL_SCANCODE_SPACE] = 0;
}
}
else
{
player->dx *= 0.99;
player->dy *= 0.99;
}
}
static void handleMouse(void)