mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level
This commit is contained in:
parent
fbb3a02718
commit
7aab471a76
@ -3555,6 +3555,10 @@ bool GetGlobalVariable(byte param, uint32 *value)
|
||||
return true;
|
||||
}
|
||||
|
||||
case 0x22: // difficulty level
|
||||
*value = _opt.diff_level;
|
||||
return true;
|
||||
|
||||
default: return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user