summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-10-23 13:55:26 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-04-29 09:48:35 +0000
commit09218ff19862a8e9595b6ccfba807315897d018d (patch)
tree9864bac5beb9badda722df7f87d6ced92f1bcace /src/utils/stringutils.cpp
parent2c9df513a04eaac5ed6bd0aec1e5d6b515a7238d (diff)
downloadmana-09218ff19862a8e9595b6ccfba807315897d018d.tar.gz
mana-09218ff19862a8e9595b6ccfba807315897d018d.tar.bz2
mana-09218ff19862a8e9595b6ccfba807315897d018d.tar.xz
mana-09218ff19862a8e9595b6ccfba807315897d018d.zip
Reduced excessive use of getters in LocalPlayer::getNextWalkPosition
getWalkMask() and getCollisionRadius() are not going to return different values each time, so assign them to a local variable. Also marked LocalPlayer::getNextWalkPosition const.
Diffstat (limited to 'src/utils/stringutils.cpp')
0 files changed, 0 insertions, 0 deletions