Update Units.cpp

fixes renamed value
develop
cjhammel 2023-01-19 15:12:24 -05:00 committed by GitHub
parent d52aff8ff3
commit c05b7526b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -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)