forked from Mirrors/openclonk
Fix grenade launcher ammo check
parent
48c1f387f0
commit
1b1fa1643b
|
@ -134,7 +134,7 @@ public func FinishedAiming(object clonk, int angle)
|
|||
if(!loaded) return;
|
||||
|
||||
// Fire
|
||||
if(Contents(0) && Contents(0)->IsGrenadeLauncherAmmo())
|
||||
if(Contents(0) && Contents(0)->~IsGrenadeLauncherAmmo())
|
||||
FireWeapon(clonk, angle);
|
||||
clonk->StartShoot(this);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue