Fix multiple return warnings.

This commit is contained in:
Marisa the Magician 2023-12-23 20:20:46 +01:00
commit 7c1cf8bacc
3 changed files with 15 additions and 3 deletions

View file

@ -384,7 +384,11 @@ Class Translocator : UTWeapon
override int, int, bool, bool GetClipAmount()
{
if ( !flak_transloc2k4 ) return Super.GetClipAmount();
if ( !flak_transloc2k4 )
{
let [foo, bar, baz, qux] = Super.GetClipAmount();
return foo, bar, baz, qux;
}
return (ammocharge>0)?int(ammocharge*9.9):-1, -1, false, false;
}