fix comment

This commit is contained in:
Seth Alves 2017-08-30 17:53:55 -07:00
parent 3f0a95d8db
commit 41b51804dc

View file

@ -100,8 +100,8 @@ void EntityMotionState::updateServerPhysicsVariables() {
}
void EntityMotionState::handleDeactivation() {
// copy _server data to entity
if (_serverVariablesSet) {
// copy _server data to entity
Transform localTransform = _entity->getLocalTransform();
localTransform.setTranslation(_serverPosition);
localTransform.setRotation(_serverRotation);