mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-06-09 01:52:02 +00:00
Fix shots moving when paused. Partial revert of broken commit 854afdda3f
This commit is contained in:
parent
a477c6d59b
commit
d2a7f9f6ee
1 changed files with 1 additions and 3 deletions
|
@ -741,8 +741,6 @@ bool Shot::isObstructed(float dt) const
|
|||
|
||||
void Shot::onUpdate(float dt)
|
||||
{
|
||||
CollideQuad::onUpdate(dt);
|
||||
|
||||
if (game->isPaused()) return;
|
||||
if (game->isWorldPaused()) return;
|
||||
if (!shotData) return;
|
||||
|
@ -801,7 +799,7 @@ void Shot::onUpdate(float dt)
|
|||
target = 0;
|
||||
}
|
||||
}
|
||||
|
||||
CollideQuad::onUpdate(dt);
|
||||
updateSegments(position);
|
||||
if (!dead)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue