summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cClientHandle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cClientHandle.h b/source/cClientHandle.h
index 3fcfef716..6ac6e07b8 100644
--- a/source/cClientHandle.h
+++ b/source/cClientHandle.h
@@ -94,6 +94,8 @@ public:
bool IsDestroyed() { return m_bDestroyed; }
void Destroy();
+
+ bool IsPlaying(void) const {return (m_State == csPlaying); }
void Send(const cPacket & a_Packet, ENUM_PRIORITY a_Priority = E_PRIORITY_NORMAL) { Send(&a_Packet, a_Priority); }
void Send(const cPacket * a_Packet, ENUM_PRIORITY a_Priority = E_PRIORITY_NORMAL);