summaryrefslogtreecommitdiff
path: root/src/newgrf_spritegroup.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-09-30 18:54:33 +0000
committerfrosch <frosch@openttd.org>2009-09-30 18:54:33 +0000
commit3863742c725a256735c83260fbc7c015f9b92866 (patch)
tree7ba245a48c5f125c4916b31f7deb1f4ddf1972cd /src/newgrf_spritegroup.h
parentd8eec0ebf0540954b5c52524d2a2d1478e94b7d8 (diff)
downloadopenttd-3863742c725a256735c83260fbc7c015f9b92866.tar.xz
(svn r17671) -Codechange: Move ResolverObject::info_view into u.vehicle as it is only needed for them.
Diffstat (limited to 'src/newgrf_spritegroup.h')
-rw-r--r--src/newgrf_spritegroup.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/newgrf_spritegroup.h b/src/newgrf_spritegroup.h
index 0f2ffbb3a..0382de7c6 100644
--- a/src/newgrf_spritegroup.h
+++ b/src/newgrf_spritegroup.h
@@ -296,8 +296,6 @@ struct ResolverObject {
uint32 reseed;
VarSpriteGroupScope scope;
- bool info_view; ///< Indicates if the item is being drawn in an info window
-
BaseStorageArray *psa; ///< The persistent storage array of this resolved object.
const GRFFile *grffile; ///< GRFFile the resolved SpriteGroup belongs to
@@ -307,6 +305,7 @@ struct ResolverObject {
const struct Vehicle *self;
const struct Vehicle *parent;
EngineID self_type;
+ bool info_view; ///< Indicates if the item is being drawn in an info window
} vehicle;
struct {
TileIndex tile;