Fix grenade launcher ammo check

heavy-resources
Julius Michaelis 2014-05-03 21:03:19 +02:00
parent 48c1f387f0
commit 1b1fa1643b
1 changed files with 1 additions and 1 deletions

View File

@ -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;