From a43c7af33bd76d346be4fe40cb614d894e789aa3 Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 6 Jun 2008 19:27:09 +0000 Subject: (svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs) --- src/gamelog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gamelog.cpp b/src/gamelog.cpp index e5518dbe8..aba915ea4 100644 --- a/src/gamelog.cpp +++ b/src/gamelog.cpp @@ -502,7 +502,7 @@ void GamelogGRFAdd(const GRFConfig *newg) */ void GamelogGRFCompatible(const GRFIdentifier *newg) { - assert(_gamelog_action_type == GLAT_LOAD); + assert(_gamelog_action_type == GLAT_LOAD || _gamelog_action_type == GLAT_GRF); LoggedChange *lc = GamelogChange(GLCT_GRFCOMPAT); if (lc == NULL) return; -- cgit v1.2.3-70-g09d2