Commit 705040f
[Bugfix] Incorrect weapon weight calculation
1) Ammos in mag could have different types with different weight (especially for shotguns)
2) When grenade is loaded into the weapon, it weight should increase.1 parent 449c91a commit 705040f
File tree
3 files changed
+33
-5
lines changed- src/xrGame
3 files changed
+33
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1746 | 1746 | | |
1747 | 1747 | | |
1748 | 1748 | | |
1749 | | - | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
1750 | 1752 | | |
1751 | | - | |
1752 | | - | |
1753 | | - | |
1754 | | - | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
1755 | 1761 | | |
| 1762 | + | |
1756 | 1763 | | |
1757 | 1764 | | |
1758 | 1765 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
747 | 767 | | |
748 | 768 | | |
749 | 769 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
0 commit comments