forked from Mirrors/openclonk
silence some warnings in the defense scenarios
parent
e00f1e9672
commit
f9e3639d91
|
@ -2,8 +2,6 @@
|
|||
|
||||
#appendto Clonk
|
||||
|
||||
static g_homebases; // item management / buy menus for each player
|
||||
|
||||
func Ejection()
|
||||
{
|
||||
if (!Contents() && g_homebases && g_homebases[GetOwner()])
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
#appendto GrenadeLauncher
|
||||
|
||||
static g_homebases; // item management / buy menus for each player
|
||||
|
||||
func Ejection()
|
||||
{
|
||||
var cont = Contained();
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
QuickBuy
|
||||
--*/
|
||||
|
||||
static g_quickbuy_items;
|
||||
|
||||
global func PlayerControl(int plr, int ctrl)
|
||||
{
|
||||
if (ctrl >= CON_QuickBuy0 && ctrl <= CON_QuickBuy9)
|
||||
|
|
|
@ -26,7 +26,7 @@ public func Entrance(...)
|
|||
|
||||
public func Gidl_UpdateLoadTimes()
|
||||
{
|
||||
if (!Contained()) return false;
|
||||
if (!Contained() || !g_homebases) return false;
|
||||
var base = g_homebases[Contained()->GetOwner()];
|
||||
if (base)
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ public func Gidl_UpdateLoadTimes()
|
|||
|
||||
public func Guardians_UpdateShootingStrength()
|
||||
{
|
||||
if (!Contained()) return false;
|
||||
if (!Contained() || !g_homebases) return false;
|
||||
if (GetID() == Blunderbuss) return false; // Update not for blunderbusses
|
||||
var base = g_homebases[Contained()->GetOwner()];
|
||||
if (base)
|
||||
|
|
Loading…
Reference in New Issue