aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/StartProcess.cpp
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2021-01-10 10:18:51 +0100
committerShauren <shauren.trinity@gmail.com>2022-03-05 23:04:24 +0100
commit6b242eee130f1ac405187a03cefaf595d857ad99 (patch)
tree8b9db4fda2439eb8993d20492cbf331921fdefaa /src/common/Utilities/StartProcess.cpp
parent701a3927c153cd4020bc0966fb7e11c750f8d37f (diff)
Core/Unit: Fix movement hiccups in water (#24020)
* Core/Unit: Allow to define Units which can enter water but cannot swim Allow to define Units which can enter water but cannot swim, i.e. crabs walking at the bottom of a sea. * Add UNIT_FLAG_SWIMMING to creatures when entering combat * Fix charmed creatures not entering water * Always allow Creatures controlled by players to enter water * Add swimming flag when possessing a unit and remove it properly at the end, even if the creature engaged combat before and after. When adding/removing UNIT_FLAG_SWIMMING manually calling Creature::RefreshSwimmingFlag(true) might be required. (cherry picked from commit fc1a0d936888395f114028af3337e7d674e0a43c)
Diffstat (limited to 'src/common/Utilities/StartProcess.cpp')
0 files changed, 0 insertions, 0 deletions