summaryrefslogtreecommitdiff
path: root/src/gamelog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamelog.cpp')
-rw-r--r--src/gamelog.cpp2
1 files changed, 1 insertions, 1 deletions
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;