1
0
Fork 0

(svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago.

release/1.0
rubidium 2009-05-23 12:56:30 +00:00
parent 86710c5185
commit bbd14acb1d
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ struct CallbackResultSpriteGroup : SpriteGroup {
*/ */
CallbackResultSpriteGroup(uint16 value) : CallbackResultSpriteGroup(uint16 value) :
SpriteGroup(SGT_CALLBACK), SpriteGroup(SGT_CALLBACK),
result(result) result(value)
{ {
/* Old style callback results have the highest byte 0xFF so signify it is a callback result /* 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) */ * New style ones only have the highest bit set (allows 15-bit results, instead of just 8) */