From 240ab4e36fa86196e2d429c833ac929a6f71b356 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Tue, 2 Jul 2019 05:37:27 +0530 Subject: HDB: Add Note 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 e169524a7b..5a0b98d89f 100644 --- a/engines/hdb/ai-player.cpp +++ b/engines/hdb/ai-player.cpp @@ -1307,11 +1307,12 @@ void aiClipboardInit2(AIEntity *e) { } void aiNoteInit(AIEntity *e) { - warning("STUB: AI: aiNoteInit required"); + strcpy(e->printedName, "a Note"); + e->aiAction = aiGetItemAction; } void aiNoteInit2(AIEntity *e) { - warning("STUB: AI: aiNoteInit2 required"); + e->draw = e->standdownGfx[0]; } void aiKeycardWhiteInit(AIEntity *e) { -- cgit v1.2.3