equal
deleted
inserted
replaced
392 assert(_gamelog_action_type == GLAT_START || _gamelog_action_type == GLAT_LOAD); |
392 assert(_gamelog_action_type == GLAT_START || _gamelog_action_type == GLAT_LOAD); |
393 |
393 |
394 LoggedChange *lc = GamelogChange(GLCT_REVISION); |
394 LoggedChange *lc = GamelogChange(GLCT_REVISION); |
395 if (lc == NULL) return; |
395 if (lc == NULL) return; |
396 |
396 |
397 strncpy(lc->revision.text, _openttd_revision, lengthof(lc->revision.text)); |
397 strecpy(lc->revision.text, _openttd_revision, lastof(lc->revision.text)); |
398 lc->revision.slver = SAVEGAME_VERSION; |
398 lc->revision.slver = SAVEGAME_VERSION; |
399 lc->revision.modified = _openttd_revision_modified; |
399 lc->revision.modified = _openttd_revision_modified; |
400 lc->revision.newgrf = _openttd_newgrf_version; |
400 lc->revision.newgrf = _openttd_newgrf_version; |
401 } |
401 } |
402 |
402 |