Skip to content

Commit

Permalink
Hoist .45 ACP Encumbrance Constants into global scope
Browse files Browse the repository at this point in the history
  • Loading branch information
UndeadZeratul committed Aug 16, 2024
1 parent 011d307 commit 7a65c10
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions zscript/HDBulletLib/Ammunition/45ACP.zsc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
// CREATED BY POPGUY12
// ------------------------------


const ENC_45ACPLOADED = 0.55;
const ENC_45ACP = ENC_45ACPLOADED * 1.35;

class HDB_45ACP : HDBulletActor
{
Default
Expand Down Expand Up @@ -43,8 +47,8 @@ class HD45ACPAmmo : HDRoundAmmo
SplitPickupBoxableRound(10, 50, "HD45ACPBoxPickup", "45TNA0", "45RNA0");
}

const EncRoundLoaded = 0.55;
const EncRound = EncRoundLoaded * 1.35;
const EncRoundLoaded = ENC_45ACPLOADED;
const EncRound = ENC_45ACP;

Default
{
Expand Down

0 comments on commit 7a65c10

Please sign in to comment.