Style: Fixup instances of void arguments

The style we have here is that functions with no arguments are to have
explicit `void` arguments, even though this doesn't apply in C++,
because it does apply in C.

Unfortunately, some have slipped through the cracks. This commit fixes
them.
This commit is contained in:
Misa
2023-03-18 15:24:14 -07:00
parent 63bc71b796
commit 9a87d23719
11 changed files with 32 additions and 32 deletions

View File

@@ -754,7 +754,7 @@ void Game::setstate(const int gamestate)
}
}
void Game::incstate()
void Game::incstate(void)
{
if (!statelocked)
{
@@ -770,12 +770,12 @@ void Game::setstatedelay(const int delay)
}
}
void Game::lockstate()
void Game::lockstate(void)
{
statelocked = true;
}
void Game::unlockstate()
void Game::unlockstate(void)
{
statelocked = false;
}
@@ -7394,7 +7394,7 @@ void Game::sabotage_time_trial(void)
timetrialparlost = true;
}
bool Game::isingamecompletescreen()
bool Game::isingamecompletescreen(void)
{
return (state >= 3501 && state <= 3518) || (state >= 3520 && state <= 3522);
}