diff options
author | rubidium <rubidium@openttd.org> | 2009-05-23 12:56:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-23 12:56:30 +0000 |
commit | bbd14acb1d6243ef50c0b884a92767d1b82c6e95 (patch) | |
tree | 7a97595ecbf7c9d56727dec643ac4fb8f9b0f773 /src | |
parent | 86710c5185b43fc989c4a7536300b1752c3c4d16 (diff) | |
download | openttd-bbd14acb1d6243ef50c0b884a92767d1b82c6e95.tar.xz |
(svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_spritegroup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h index 3598d1409..13cfb19c6 100644 --- a/src/newgrf_spritegroup.h +++ b/src/newgrf_spritegroup.h @@ -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) */ |