Remove a nodiscard

This commit is contained in:
Corentin Jabot 2021-08-12 10:18:51 +02:00
parent c3440d7eba
commit b3798ef2df
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ void Ghost::reset() {
timeChase = {};
}
[[nodiscard]] GridPosition Ghost::currentSprite() const {
GridPosition Ghost::currentSprite() const {
switch (state) {
default:
return Atlas::ghostSprite(spriteSet, direction, (animationIndex % 2) == 0);