diff options
| author | Pistonight <zhaoyizhu2000@gmail.com> | 2024-03-08 23:24:06 -0800 |
|---|---|---|
| committer | Pistonight <zhaoyizhu2000@gmail.com> | 2024-03-09 00:45:00 -0800 |
| commit | dd506b160ebde6528e1412284d7cd5ecc1215bc3 (patch) | |
| tree | 34cdf6d62238a98b04e08f3069f3d612778b7631 /src/Game/Actor/actWeapon.cpp | |
| parent | fe9558b93126911e7304632bd072b3f6c115a212 (diff) | |
rename CookData and WeaponData fields
Diffstat (limited to 'src/Game/Actor/actWeapon.cpp')
| -rw-r--r-- | src/Game/Actor/actWeapon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Game/Actor/actWeapon.cpp b/src/Game/Actor/actWeapon.cpp index 7ea6c2dc..c4281c19 100644 --- a/src/Game/Actor/actWeapon.cpp +++ b/src/Game/Actor/actWeapon.cpp @@ -20,7 +20,7 @@ WeaponModifierInfo::WeaponModifierInfo(const ui::PouchItem& item) { void WeaponModifierInfo::fromItem(const ui::PouchItem& item) { if (item.getType() <= ui::PouchItemType::Shield) { - set(item.getWeaponData().mAddType, item.getWeaponData().mAddValue); + set(item.getWeaponData().mModifier, item.getWeaponData().mModifierValue); } else { flags.setDirect(0); value = 0; |
