mirror of
https://github.com/overte-org/overte.git
synced 2025-06-03 12:31:14 +02:00
don't need temp variable
This commit is contained in:
parent
79cb55eabc
commit
f09a67af6c
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue