Attempt on converting updatewaterstate for use with units (pets and vehicles)

This commit is contained in:
Kandera committed 2012-04-16 12:27:06 -04:00
1 parent 413cfac953
commit bb97ff7601
4 files changed
+50 -5

No files matched your search

@@ -114,6 +114,9 @@ void MotionMaster::UpdateMotion(uint32 diff)
_cleanFlag &= ~MMCF_RESET;
}
// probably not the best place to pu this but im not really sure where else to put it.
_owner->UpdateUnderwaterState(_owner->GetMap(), _owner->GetPositionX(), _owner->GetPositionY(), _owner->GetPositionZ());
}
void MotionMaster::DirectClean(bool reset)