aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-02 05:37:27 +0530
committerEugene Sandulenko2019-09-03 17:17:07 +0200
commit240ab4e36fa86196e2d429c833ac929a6f71b356 (patch)
tree68c82e6af6ab524c9b73b1195d7acc42b8ceef3b
parentd945f28c6abd5013a0b7ac981a3abdd86104f384 (diff)
downloadscummvm-rg350-240ab4e36fa86196e2d429c833ac929a6f71b356.tar.gz
scummvm-rg350-240ab4e36fa86196e2d429c833ac929a6f71b356.tar.bz2
scummvm-rg350-240ab4e36fa86196e2d429c833ac929a6f71b356.zip
HDB: Add Note related functions
-rw-r--r--engines/hdb/ai-player.cpp5
1 files 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) {