don't need temp variable

This commit is contained in:
Andrew Meadows 2015-04-24 09:32:54 -07:00
parent 79cb55eabc
commit f09a67af6c

View file

@ -189,9 +189,7 @@ float EntityMotionState::computeMass(const ShapeInfo& shapeInfo) const {
}
bool EntityMotionState::shouldSendUpdate(uint32_t simulationFrame) {
bool baseResult = this->ObjectMotionState::shouldSendUpdate(simulationFrame);
if (!baseResult) {
if (!ObjectMotionState::shouldSendUpdate(simulationFrame)) {
return false;
}