Skip to content

Commit

Permalink
Merge pull request #35 from Atlantis-PBEM/bug/horse-riding-tax
Browse files Browse the repository at this point in the history
Bug: Fix men on horse can tax without riding
  • Loading branch information
artyomtrityak authored Aug 24, 2019
2 parents b61a944 + 07fe6d4 commit 208d177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,7 @@ int Unit::Taxers(int numtaxers)
taxers += numMounts;
}
else if (Globals->WHO_CAN_TAX & GameDefs::TAX_HORSE_AND_RIDING_SKILL) {
weapontax += numMounts;
weapontax += numUsableMounts;
taxers += numUsableMounts;
}

Expand Down

0 comments on commit 208d177

Please sign in to comment.