From 222718779d422f1a19fac58a228c3680f240b60d Mon Sep 17 00:00:00 2001 From: stpohle Date: Mon, 12 May 2003 02:31:09 +0000 Subject: [PATCH] working on the single player code --- src/game.c | 2 +- src/single.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game.c b/src/game.c index b35d227..6d6ccbc 100644 --- a/src/game.c +++ b/src/game.c @@ -212,7 +212,7 @@ game_loop () /* check if there is only one player left and the game is in multiplayer mode and if there the last dieing animation is done */ - if ((GT_MP_PTP && bman.players_nr < 2) || (bman.players_nr == 0)) + if (bman.players_nr < 2) gameovertimeout--; if (gameovertimeout <= 0) { diff --git a/src/single.c b/src/single.c index 5b2c2b8..90442d7 100644 --- a/src/single.c +++ b/src/single.c @@ -1,4 +1,4 @@ -/* $Id: single.c,v 1.12 2003/05/11 23:32:42 stpohle Exp $ */ +/* $Id: single.c,v 1.13 2003/05/12 02:31:09 stpohle Exp $ */ /* single player */ #include "basic.h" @@ -138,7 +138,7 @@ void single_playergame () { for (p = 0; p < MAX_PLAYERS; p++) bman.players[p].state = 0; -// single_create_ai (4); + single_create_ai (4); single_game_new (); gfx_game_init (); game_loop ();