Project

General

Profile

Bug #112

Variable 9F 'Locale-dependent settings' no longer recognised ...

Added by Oz Trans about 18 years ago. Updated over 17 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Minor
Target version:
-
Start date:
19/11/2006
Due date:
% Done:

0%

Estimated time:

Description

TTDPatch Version: 2.5 beta 9 WIN
Patch Feature: Title Screen

Setting of variable 9F is no longer recognised; in title screen the settings for currency, language and measurement system not set to values in variable 9F. Still works with 2.5 beta 2, but no longer with beta 9.
//
Use Norwegian Trainset v0.4b, together with LangNor.grf to test
//
newgrf/langnor.grf
newgrf/nsbsetw.grf 0 0 230
//
'morecurrencies on' required in ttdpatch.cfg
//
You should get, currency = 'Norwegian Krone', language = 'Norwegian' and measurement system = 'kilometers'.

History

#1

Updated by Csaba Varga over 17 years ago

Title: Bug in the GRF

This seems to be a bug in the GRF. Variable 9F is read after activation; whatever happens to it during initialization is reset. Your GRF skips writing to var. 9F during activation if the current climate isn't temperate or arctic. Since the title screen is tropic, you fail to modify var. 9F at all. Bringing the var. 9F part before the climate check should solve the problem.

I'm adding a note to the wiki to clarify this.

Also available in: Atom PDF