| Date: Tue, 10 Apr 2001 13:21:36 +0000
Call to AI player loop added from main() function
Diffstat:
M src/dopewars.c | 2 ++
M src/winmain.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
--- |
| t@@ -1690,6 +1690,8 @@ int main(int argc,char *argv[]) {
StartNetworking();
if (Server) {
ServerLoop();
+ } else if (AIPlayer) {
+ AIPlayerLoop();
} else switch(WantedClient) {
case CLIENT_AUTO:
if (!GtkLoop(&argc,&argv,TRUE)) CursesLoop(); |
| t@@ -87,6 +87,8 @@ int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,
g_set_print_handler(Win32PrintFunc);
newterm(NULL,NULL,NULL);
ServerLoop();
+ } else if (AIPlayer) {
+ AIPlayerLoop();
} else if (WantedClient==CLIENT_CURSES) {
AllocConsole();
SetConsoleTitle(_("dopewars")); |