aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-02 05:36:56 +0530
committerEugene Sandulenko2019-09-03 17:17:07 +0200
commitcb0f3bc776473619177053f8ecb7e19a0ca9a0ee (patch)
tree2a5d39b695ad9c6e7ac4e18c3da9c1837866a701
parent80c2d35ba6c1340bd1ceada4b400ad956564b499 (diff)
downloadscummvm-rg350-cb0f3bc776473619177053f8ecb7e19a0ca9a0ee.tar.gz
scummvm-rg350-cb0f3bc776473619177053f8ecb7e19a0ca9a0ee.tar.bz2
scummvm-rg350-cb0f3bc776473619177053f8ecb7e19a0ca9a0ee.zip
HDB: Add Book 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 2760af603f..2e3e78e3c4 100644
--- a/engines/hdb/ai-player.cpp
+++ b/engines/hdb/ai-player.cpp
@@ -1289,11 +1289,12 @@ void aiBurgerInit2(AIEntity *e) {
}
void aiBookInit(AIEntity *e) {
- warning("STUB: AI: aiBookInit required");
+ strcpy(e->printedName, "a Book");
+ e->aiAction = aiGetItemAction;
}
void aiBookInit2(AIEntity *e) {
- warning("STUB: AI: aiBookInit2 required");
+ e->draw = e->standdownGfx[0];
}
void aiClipboardInit(AIEntity *e) {