Nopch fix

This commit is contained in:
Shauren
2019-11-01 14:54:34 +01:00
parent eda48550f2
commit 0065671316
3 changed files with 8 additions and 6 deletions
@@ -97,12 +97,7 @@ class TC_GAME_API SmartScript
CounterMap mCounterList;
private:
void IncPhase(uint32 p)
{
// protect phase from overflowing
mEventPhase = std::min<uint32>(SMART_EVENT_PHASE_12, mEventPhase + p);
}
void IncPhase(uint32 p);
void DecPhase(uint32 p)
{
if (p >= mEventPhase)