Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 77eadca

Browse files
committed
Removed unused ThrownDevice ThrownTmr
1 parent e6e4416 commit 77eadca

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

Entities/ThrownDevice.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ namespace RTE {
66
////////////////////////////////////////////////////////////////////////////////////////////////////
77

88
void ThrownDevice::Clear() {
9-
m_ThrownTmr.Reset();
109
m_ActivationSound.Reset();
1110
m_StartThrowOffset.Reset();
1211
m_EndThrowOffset.Reset();
@@ -35,8 +34,6 @@ namespace RTE {
3534

3635
m_MOType = MovableObject::TypeThrownDevice;
3736

38-
m_ThrownTmr = reference.m_ThrownTmr;
39-
4037
m_ActivationSound = reference.m_ActivationSound;
4138

4239
m_StartThrowOffset = reference.m_StartThrowOffset;

Entities/ThrownDevice.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ namespace RTE {
144144
protected:
145145
static Entity::ClassInfo m_sClass; //! ClassInfo for this class
146146

147-
Timer m_ThrownTmr; //! Timer for timing how long ago this ThrownDevice was thrown
148-
149147
Sound m_ActivationSound; //! Activation sound
150148

151149
Vector m_StartThrowOffset; //! The position offset at which a throw of this Device begins

0 commit comments

Comments
 (0)