summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ship.h b/src/ship.h
index 6e73332a5..adbc32228 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -26,8 +26,9 @@ typedef std::deque<TrackdirByte> ShipPathCache;
* All ships have this type.
*/
struct Ship FINAL : public SpecializedVehicle<Ship, VEH_SHIP> {
- TrackBitsByte state; ///< The "track" the ship is following.
- ShipPathCache path; ///< Cached path.
+ TrackBitsByte state; ///< The "track" the ship is following.
+ ShipPathCache path; ///< Cached path.
+ DirectionByte rotation; ///< Visible direction.
/** We don't want GCC to zero our struct! It already is zeroed and has an index! */
Ship() : SpecializedVehicleBase() {}