summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ship.h b/src/ship.h
index adbc32228..60d4466d6 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -29,6 +29,8 @@ struct Ship FINAL : public SpecializedVehicle<Ship, VEH_SHIP> {
TrackBitsByte state; ///< The "track" the ship is following.
ShipPathCache path; ///< Cached path.
DirectionByte rotation; ///< Visible direction.
+ int16 rotation_x_pos; ///< NOSAVE: X Position before rotation.
+ int16 rotation_y_pos; ///< NOSAVE: Y Position before rotation.
/** We don't want GCC to zero our struct! It already is zeroed and has an index! */
Ship() : SpecializedVehicleBase() {}