Fix multiple return warnings.
This commit is contained in:
parent
df55aa4cc7
commit
7c1cf8bacc
3 changed files with 15 additions and 3 deletions
|
|
@ -646,7 +646,11 @@ Class PulseGun : UTWeapon
|
|||
|
||||
override int, int, bool, bool GetClipAmount()
|
||||
{
|
||||
if ( !flak_pulsereload ) return Super.GetClipAmount();
|
||||
if ( !flak_pulsereload )
|
||||
{
|
||||
let [foo, bar, baz, qux] = Super.GetClipAmount();
|
||||
return foo, bar, baz, qux;
|
||||
}
|
||||
return ClipOut?-1:ClipCount, -1, (ClipCount<10), false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue