From cd30bf807900a356e0b94805257e5cfe92ebe584 Mon Sep 17 00:00:00 2001 From: Maikel de Vries Date: Sat, 9 Jan 2016 20:17:18 +0100 Subject: [PATCH] fix eating/using the squid and the fish --- planet/Objects.ocd/Animals.ocd/Fish.ocd/Script.c | 1 + planet/Objects.ocd/Animals.ocd/Squid.ocd/Script.c | 1 + 2 files changed, 2 insertions(+) diff --git a/planet/Objects.ocd/Animals.ocd/Fish.ocd/Script.c b/planet/Objects.ocd/Animals.ocd/Fish.ocd/Script.c index 3f2b64afd..952fd9d43 100644 --- a/planet/Objects.ocd/Animals.ocd/Fish.ocd/Script.c +++ b/planet/Objects.ocd/Animals.ocd/Fish.ocd/Script.c @@ -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; } diff --git a/planet/Objects.ocd/Animals.ocd/Squid.ocd/Script.c b/planet/Objects.ocd/Animals.ocd/Squid.ocd/Script.c index e3498b0a1..edce915b1 100644 --- a/planet/Objects.ocd/Animals.ocd/Squid.ocd/Script.c +++ b/planet/Objects.ocd/Animals.ocd/Squid.ocd/Script.c @@ -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; }