mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago.
This commit is contained in:
parent
6cfc38b97c
commit
fd016d5d09
@ -192,7 +192,7 @@ struct CallbackResultSpriteGroup : SpriteGroup {
|
||||
*/
|
||||
CallbackResultSpriteGroup(uint16 value) :
|
||||
SpriteGroup(SGT_CALLBACK),
|
||||
result(result)
|
||||
result(value)
|
||||
{
|
||||
/* Old style callback results have the highest byte 0xFF so signify it is a callback result
|
||||
* New style ones only have the highest bit set (allows 15-bit results, instead of just 8) */
|
||||
|
Loading…
Reference in New Issue
Block a user