(svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active.

This commit is contained in:
peter1138
2007-02-23 09:56:20 +00:00
parent dfa3c0aae1
commit b3efec2e7d
5 changed files with 15 additions and 5 deletions

View File

@@ -31,6 +31,8 @@ typedef struct CargoSpec {
SpriteID sprite;
uint16 classes;
bool IsValid() const;
} CargoSpec;