remove incorrect comment

This commit is contained in:
Andrew Meadows 2017-12-18 11:13:11 -08:00
parent 661a63bd0c
commit 559cb33563

View file

@ -993,11 +993,8 @@ void ModelEntityRenderer::animate(const TypedEntityPointer& entity) {
}
{
// the current frame is set on the server in update() in ModelEntityItem.cpp
// the current frame is set on the server in update() in ModelEntityItem.cpp
int animationCurrentFrame = (int)(glm::floor(entity->getAnimationCurrentFrame()));
// in the case where the last frame is greater than the framecount then clamp
// it to the end of the animation until it loops around.
if (animationCurrentFrame < 0 || animationCurrentFrame >= frameCount) {
animationCurrentFrame = 0;
}