Skip to content

Commit 0dcedca

Browse files
committed
Restore "GetAttachables," how did that even happen.
1 parent 8b5a7b3 commit 0dcedca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/Entities/MOSRotating.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ namespace RTE {
230230
/// Gathers, clears and applies this MOSRotating's accumulated impulse forces, gibbing if appropriate.
231231
void ApplyImpulses() override;
232232

233+
/// Gets the list of Attachables on this MOSRotating.
234+
/// @return The list of Attachables on this MOSRotating.
235+
const std::list<Attachable*>& GetAttachables() const { return m_Attachables; }
236+
233237
/// Gets whether or not the given Attachable is a hardcoded Attachable (e.g. an Arm, Leg, Turret, etc.)
234238
/// @param attachableToCheck The Attachable to check.
235239
/// @return Whether or not the Attachable is hardcoded.

0 commit comments

Comments
 (0)