Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ZScript/Weapons/Liberator.zsc
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class FW_Liberator : FollowerWeapon
if (wpn.WeaponStatus[LIBS_FLAGS] & LIBF_GRENADELOADED)
{
Owner.A_DropItem('HDRocketAmmo', 1);
Owner.A_StartSound("weapons/grenopen",CHAN_WEAPON);
}

nogl = wpn.WeaponStatus[LIBS_FLAGS] & LIBF_NOLAUNCHER? 1 : 0;
Expand Down Expand Up @@ -149,4 +150,4 @@ class FW_Liberator : FollowerWeapon

wpn.weaponstatus[LIBS_DOT] = Crossdot;
}
}
}
5 changes: 4 additions & 1 deletion ZScript/Weapons/ZM66.zsc
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ class FW_ZM66 : FollowerWeapon
if (wpn.WeaponStatus[0] & ZM66F_GRENADELOADED)
{
Owner.A_DropItem('HDRocketAmmo', 1);
Owner.A_StartSound("weapons/grenopen",CHAN_WEAPON);
}

nogl = wpn.WeaponStatus[ZM66S_FLAGS] & ZM66F_NOLAUNCHER? 1 : 0;
Expand All @@ -126,6 +127,8 @@ class FW_ZM66 : FollowerWeapon
{
wpn.WeaponStatus[ZM66S_MAG] = Mag;

wpn.weaponstatus[ZM66S_FLAGS]&=~ZM66F_GRENADELOADED;

if(ChamberedRound > 0)wpn.weaponstatus[ZM66S_FLAGS]|=ZM66F_CHAMBER;
else wpn.weaponstatus[ZM66S_FLAGS]&=~ZM66F_CHAMBER;

Expand All @@ -137,4 +140,4 @@ class FW_ZM66 : FollowerWeapon

wpn.weaponstatus[ZM66S_DOT] = Crossdot;
}
}
}