diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-26 10:56:45 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-26 10:56:45 +0000 |
commit | 69ccb03b44f324f17d02b9e27e71c34850f71139 (patch) | |
tree | e5970b86bbe0cce062d66b13d70f16f5c4ae912d /src/main.cpp | |
parent | 3e424a68b7dd438ba1a316af3a92f01dde7c71ac (diff) | |
download | mana-69ccb03b44f324f17d02b9e27e71c34850f71139.tar.gz mana-69ccb03b44f324f17d02b9e27e71c34850f71139.tar.bz2 mana-69ccb03b44f324f17d02b9e27e71c34850f71139.tar.xz mana-69ccb03b44f324f17d02b9e27e71c34850f71139.zip |
Moved some setup code out of the game loop into the setup functions. Setup functions are now called from the outside.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5fe43598..9c45614b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -607,7 +607,9 @@ int main(int argc, char *argv[]) login_wallpaper = NULL; logger->log("State: GAME"); + do_init(network); game(network); + do_exit(); state = EXIT_STATE; break; |