Screwups I missed.
This commit is contained in:
parent
89f2cbb098
commit
468aa2ce51
3 changed files with 5 additions and 5 deletions
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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++ )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue