Use high precision for time2Ticks
This commit is contained in:
parent
7ecdc3efd7
commit
1ba1e7e59f
@ -278,7 +278,7 @@ bool Swatter::updateAndTestFinished()
|
||||
// Start squashing
|
||||
m_animation_phase = SWATTER_TO_TARGET;
|
||||
m_swatter_animation_ticks =
|
||||
m_attachment->getTicksLeft() - stk_config->time2Ticks(0.167f);
|
||||
m_attachment->getTicksLeft() - stk_config->time2Ticks(0.166666672f);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user