[Freeciv-Dev] (PR#9499) We should call sanity_check after loading a game
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#9499) We should call sanity_check after loading a game |
From: |
"Mateusz Stefek" <mstefek@xxxxxxxxx> |
Date: |
Sun, 25 Jul 2004 11:31:03 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9499 >
With this patch it will be much easier to distinguish between
incompatible savegames and "real" bugs.
--
mateusz
--- freeorig/server/stdinhand.c 2004-07-22 10:00:09.000000000 +0200
+++ freeciv/server/stdinhand.c 2004-07-25 20:09:40.510211640 +0200
@@ -55,6 +55,7 @@
#include "plrhand.h"
#include "report.h"
#include "ruleset.h"
+#include "sanitycheck.h"
#include "savegame.h"
#include "sernet.h"
#include "srv_main.h"
@@ -4132,6 +4133,8 @@
read_timer_seconds_free(loadtimer),
read_timer_seconds_free(uloadtimer));
+ sanity_check();
+
/* attach connections to players. currently, this applies only
* to connections that have the correct username. Any attachments
* made before the game load are unattached. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#9499) We should call sanity_check after loading a game,
Mateusz Stefek <=
|
|