aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-player.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp
index 8713be7be5..6b0f5b6da7 100644
--- a/engines/hdb/ai-player.cpp
+++ b/engines/hdb/ai-player.cpp
@@ -1541,20 +1541,25 @@ void aiEnvelopeRedInit2(AIEntity *e) {
}
void aiTransceiverInit(AIEntity *e) {
- warning("STUB: AI: aiTransceiverInit required");
+ e->aiAction = aiTransceiverAction;
+ strcpy(e->printedName, "Transceiver");
}
void aiTransceiverInit2(AIEntity *e) {
- warning("STUB: AI: aiTransceiverInit2 required");
+ e->draw = e->standdownGfx[0];
}
void aiTransceiverAction(AIEntity *e) {
- warning("STUB: AI: aiTransceiverAction required");
+ aiAnimateStanddown(e, 5);
+ if (e->onScreen)
+ aiGetItemAction(e);
}
+#if 0
void aiTransceiverUse(AIEntity *e) {
warning("STUB: AI: aiTransceiverUse required");
}
+#endif
void aiMonkeystoneInit(AIEntity *e) {
warning("STUB: AI: aiMonkeystoneInit required");