Compile fix... another one... some day i will learn to wait to some c++ guys to help with 3.3.5a or 6.x to 4.3.4 c++ ports
This commit is contained in:
1 parent
a6aac4d6b5
commit
a93cc14c69
1 file changed
+2
@@ -238,6 +238,8 @@ class Battlefield : public ZoneScript
|
||||
/// Return true if battle is start, false if battle is not started
|
||||
bool IsWarTime() const { return m_isActive; }
|
||||
|
||||
int8 GetState() const { return m_isActive ? BATTLEFIELD_IN_PROGRESS : (m_Timer <= m_StartGroupingTimer ? BATTLEFIELD_WARMUP : BATTLEFIELD_INACTIVE); }
|
||||
|
||||
/// Enable or Disable battlefield
|
||||
void ToggleBattlefield(bool enable) { m_IsEnabled = enable; }
|
||||
/// Return if battlefield is enable
|
||||
|
||||
Reference in new issue
Block a user