mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-21 05:45:10 +00:00
little fix
This commit is contained in:
@@ -60,5 +60,4 @@ namespace BBM
|
|||||||
//! @brief assignment operator
|
//! @brief assignment operator
|
||||||
AnimationsComponent &operator=(const AnimationsComponent &) = delete;
|
AnimationsComponent &operator=(const AnimationsComponent &) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,6 @@ namespace BBM
|
|||||||
if (anim.isDisabled())
|
if (anim.isDisabled())
|
||||||
return;
|
return;
|
||||||
model.member.setAnimation(anim.getCurrentModelAnim());
|
model.member.setAnimation(anim.getCurrentModelAnim());
|
||||||
anim.setCurrentAnimFrameCounter(anim.getCurrentAnimFrameCounter() + 1);
|
anim.incCurrentAnimFrameCounter();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user