(svn r17671) -Codechange: Move ResolverObject::info_view into u.vehicle as it is only needed for them.

This commit is contained in:
frosch
2009-09-30 18:54:33 +00:00
parent 7903e2be91
commit 8c7bb55da2
2 changed files with 4 additions and 6 deletions

View File

@@ -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;