mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 03:48:43 +00:00
(svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs)
This commit is contained in:
parent
ee256e770a
commit
a43c7af33b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user