(svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs)

This commit is contained in:
glx 2008-06-06 19:27:09 +00:00
parent ee256e770a
commit a43c7af33b
1 changed files with 1 additions and 1 deletions

View File

@ -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;