Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Player::SetCanFly(bool enable)
- {
- if (enable)
- {
- m_movementInfo.SetMovementFlags(MOVEFLAG_CAN_FLY);//MOVEFLAG_FLYING
- }
- else
- {
- m_movementInfo.SetMovementFlags(MOVEFLAG_NONE);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement