Remove a nodiscard
This commit is contained in:
parent
c3440d7eba
commit
b3798ef2df
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue