forked from Mirrors/openclonk
fix eating/using the squid and the fish
parent
1ba1164d8e
commit
cd30bf8079
|
@ -113,6 +113,7 @@ func Decaying()
|
|||
protected func ControlUse(object clonk, int iX, int iY)
|
||||
{
|
||||
clonk->Eat(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
public func NutritionalValue() { if (!GetAlive()) return 15; else return 0; }
|
||||
|
|
|
@ -164,6 +164,7 @@ private func Decaying()
|
|||
public func ControlUse(object clonk, int iX, int iY)
|
||||
{
|
||||
clonk->Eat(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
public func NutritionalValue() { if (!GetAlive()) return 15; else return 0; }
|
||||
|
|
Loading…
Reference in New Issue