mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-11 03:19:46 +01:00
Simplify GAMEMODE loop
Now that towers no longer use separate functions, we can remove the map.towermode conditional.
This commit is contained in:
parent
53bad3bcaf
commit
b26e94b919
1 changed files with 5 additions and 16 deletions
|
@ -422,16 +422,6 @@ int main(int argc, char *argv[])
|
||||||
titlelogic();
|
titlelogic();
|
||||||
break;
|
break;
|
||||||
case GAMEMODE:
|
case GAMEMODE:
|
||||||
if (map.towermode)
|
|
||||||
{
|
|
||||||
gameinput();
|
|
||||||
gamerender();
|
|
||||||
gamelogic();
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
if (script.running)
|
if (script.running)
|
||||||
{
|
{
|
||||||
script.run();
|
script.run();
|
||||||
|
@ -440,7 +430,6 @@ int main(int argc, char *argv[])
|
||||||
gameinput();
|
gameinput();
|
||||||
gamerender();
|
gamerender();
|
||||||
gamelogic();
|
gamelogic();
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue