Skip to content

Commit

Permalink
[共通] Timer::isRunnning() は 0 に達したとき false を返すように
Browse files Browse the repository at this point in the history
  • Loading branch information
Reputeless committed Apr 8, 2023
1 parent ec9ff21 commit d5efa57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Siv3D/src/Siv3D/Timer/SivTimer.cpp
Expand Up @@ -38,7 +38,7 @@ namespace s3d

bool Timer::isRunning() const noexcept
{
return (m_isStarted && not m_pausing);
return (m_isStarted && (not m_pausing) && (not reachedZero()));
}

bool Timer::reachedZero() const
Expand Down

0 comments on commit d5efa57

Please sign in to comment.