Screwups I missed.

This commit is contained in:
Mari the Deer 2022-09-16 11:34:41 +02:00
commit 468aa2ce51
3 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r467 \cu(Fri 16 Sep 11:31:26 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r467 \cu(2022-09-16 11:31:26)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r468 \cu(Fri 16 Sep 11:34:41 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r468 \cu(2022-09-16 11:34:41)\c-";

View file

@ -10,7 +10,7 @@ Class SWWMWeapon : Weapon abstract
bool tooltipsent;
Class<Actor> dropammotype;
int dropamount;
private bool bInitialized;
bool bInitialized;
Property Tooltip : tooltip;
Property GetLine : getline;
@ -363,7 +363,7 @@ Class SWWMWeapon : Weapon abstract
{
// no weirdass factors or anything involved in this one
// just simple and straightforward
if ( !ammotype ) return;
if ( !ammotype ) return null;
let amo = Ammo(other.FindInventory(ammotype));
if ( !amo )
{

View file

@ -705,7 +705,7 @@ Class Wallbuster : SWWMWeapon
{
bool good = Super.PickupForAmmoSWWM(ownedWeapon);
let Owner = ownedWeapon.Owner;
if ( (AmmoGive1 == 0) && initialized )
if ( (AmmoGive1 == 0) && bInitialized )
{
for ( int i=0; i<25; i++ )
{