diff options
| author | Léo Lam <leo@leolam.fr> | 2024-03-09 19:43:04 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-09 19:43:04 +0000 |
| commit | 72a0a8293280cea9dcd5a77424b2fcdf8bf06ad4 (patch) | |
| tree | 34cdf6d62238a98b04e08f3069f3d612778b7631 /src/Game/Actor | |
| parent | fe9558b93126911e7304632bd072b3f6c115a212 (diff) | |
| parent | dd506b160ebde6528e1412284d7cd5ecc1215bc3 (diff) | |
Merge pull request #125 from Pistonight/pmdm_cook_data_name
Rename CookData and WeaponData fields
Diffstat (limited to 'src/Game/Actor')
| -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; |
