(svn r26173) -Change: [NewGRF] Reset the temporary storage registers for every sprite resolving.
This commit is contained in:
@@ -33,6 +33,9 @@ TemporaryStorageArray<int32, 0x110> _temp_store;
|
||||
/* static */ const SpriteGroup *SpriteGroup::Resolve(const SpriteGroup *group, ResolverObject &object, bool top_level)
|
||||
{
|
||||
if (group == NULL) return NULL;
|
||||
if (top_level) {
|
||||
_temp_store.ClearChanges();
|
||||
}
|
||||
return group->Resolve(object);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user