MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / enableInterpolation

Method enableInterpolation

source/game/StarPlant.cpp:599–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599void Plant::enableInterpolation(float extrapolationHint) {
600 // Only enable plant interpolation when it actually matters, for things that
601 // generate PlantDrops so that they match when the PlantDrops appear.
602 if (m_fallsWhenDead)
603 m_netGroup.enableNetInterpolation(extrapolationHint);
604}
605
606void Plant::disableInterpolation() {
607 m_netGroup.disableNetInterpolation();

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected