From 7298b0b31b5f17adf25df4acf202411b737626bc Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 31 Oct 2005 11:22:52 +0000 Subject: (svn r3109) Replace two occurrences of '256' with TOTAL_NUM_ENGINES --- players.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'players.c') diff --git a/players.c b/players.c index 257db5b9e..57f4b17bf 100644 --- a/players.c +++ b/players.c @@ -494,7 +494,7 @@ Player *DoStartupNewPlayer(bool is_ai) p->face = Random(); /* Engine renewal settings */ - for (i = 0; i < 256; i++) + for (i = 0; i < TOTAL_NUM_ENGINES; i++) p->engine_replacement[i] = INVALID_ENGINE; p->engine_renew = false; -- cgit v1.2.3-54-g00ecf