meilleurs coms ig
This commit is contained in:
@@ -230,17 +230,14 @@ void Game::nextFrame(const std::set<Action>& playerActions) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// update remembered actions for next frame
|
||||
|
||||
this->heldActions = playerActions;
|
||||
|
||||
if ((!this->started) || this->leftARETime > 0) {
|
||||
for (Action action : playerActions) {
|
||||
this->initialActions.insert(action);
|
||||
}
|
||||
}
|
||||
|
||||
this->heldActions = playerActions;
|
||||
|
||||
if (this->leftARETime > 0) {
|
||||
if (playerActions.contains(MOVE_LEFT)) {
|
||||
this->heldDAS = std::min(-1, this->heldDAS - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user