diff options
author | glx <glx@openttd.org> | 2008-06-06 19:27:09 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-06-06 19:27:09 +0000 |
commit | a43c7af33bd76d346be4fe40cb614d894e789aa3 (patch) | |
tree | 9294b0a30ae5861fa073a2fb0d06c3cd2eb85c4a /src/gamelog.cpp | |
parent | ee256e770afb5f04a6a10f3b2045dd426d3167ff (diff) | |
download | openttd-a43c7af33bd76d346be4fe40cb614d894e789aa3.tar.xz |
(svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs)
Diffstat (limited to 'src/gamelog.cpp')
-rw-r--r-- | src/gamelog.cpp | 2 |
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; |