mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r7266) -Codechange: Make the NewGRF loading stage look like ttdpatch to NewGRFs
This commit is contained in:
parent
30e99527df
commit
ae9ffa1dd0
4
newgrf.c
4
newgrf.c
@ -2183,8 +2183,8 @@ static uint32 GetParamVal(byte param, uint32 *cond_val)
|
||||
case 0x83: /* current climate, 0=temp, 1=arctic, 2=trop, 3=toyland */
|
||||
return _opt.landscape;
|
||||
|
||||
case 0x84: /* .grf loading stage, 0=initialization, 1=activation */
|
||||
return _cur_stage;
|
||||
case 0x84: /* GRF loading stage */
|
||||
return (_cur_stage > GLS_INIT) | ((_cur_stage == GLS_ACTIVATION) << 9);
|
||||
|
||||
case 0x85: /* TTDPatch flags, only for bit tests */
|
||||
if (cond_val == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user