Merge pull request #2664 from cjhammel/develop

Update Units.cpp
develop
Myk 2023-01-19 16:53:38 -08:00 committed by GitHub
commit 34eb25a530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -20,7 +20,7 @@ Replaced by `gui/launcher --minimal <gui/launcher>`.
create-items create-items
============ ============
Replaced by `gui/create-item --multi`. Replaced by `gui/create-item --multi <gui/create-item>`.
.. _deteriorateclothes: .. _deteriorateclothes:

@ -1426,7 +1426,7 @@ int Units::computeMovementSpeed(df::unit *unit)
if (isBaby(unit)) if (isBaby(unit))
speed += 3000; speed += 3000;
if (unit->flags3.bits.unk15) if (unit->flags3.bits.diving)
speed /= 20; speed /= 20;
if (unit->counters2.exhaustion >= 2000) if (unit->counters2.exhaustion >= 2000)