misc.c
changeset 983 1be852dcdd4c
parent 970 492ca84ecc6c
child 988 2482369a61ff
--- a/misc.c	Tue Jan 11 00:24:27 2005 +0000
+++ b/misc.c	Tue Jan 11 00:54:06 2005 +0000
@@ -700,8 +700,11 @@
 		NetworkServerYearlyLoop();
 #endif /* ENABLE_NETWORK */
 
+	/* check if we reached 2090, that's the maximum year. */
+	if (_cur_year == 131) { // end of game on 31 dec 2050
+			ShowEndGameChart();
 	/* check if we reached 2090 (MAX_YEAR_END_REAL), that's the maximum year. */
-	if (_cur_year == (MAX_YEAR_END + 1)) {
+	} else if (_cur_year == (MAX_YEAR_END + 1)) {
 		Vehicle *v;
 		_cur_year = MAX_YEAR_END;
 		_date = 62093;