From dcce09471d348a37fa22f072951aaa1053c79b00 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Tue, 2 Jul 2019 05:37:59 +0530 Subject: HDB: Add Cell related functions --- engines/hdb/ai-player.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp index 64c95d5deb..39124283cf 100644 --- a/engines/hdb/ai-player.cpp +++ b/engines/hdb/ai-player.cpp @@ -1493,11 +1493,12 @@ void aiCellUse(AIEntity *e) { } void aiCellInit2(AIEntity *e) { - warning("STUB: AI: aiCellInit2 required"); + e->draw = e->standdownGfx[0]; } void aiCellInit(AIEntity *e) { - warning("STUB: AI: aiCellInit required"); + strcpy(e->printedName, "Energy Cell"); + e->aiAction = aiGetItemAction; } void aiEnvelopeWhiteInit(AIEntity *e) { -- cgit v1.2.3