diff options
author | Nipun Garg | 2019-07-02 05:37:59 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:07 +0200 |
commit | dcce09471d348a37fa22f072951aaa1053c79b00 (patch) | |
tree | 022bad8dca458374bf7dc10376d05d750445116f /engines/hdb | |
parent | 7fdef04af98d813e172edf60df160c0628b6931b (diff) | |
download | scummvm-rg350-dcce09471d348a37fa22f072951aaa1053c79b00.tar.gz scummvm-rg350-dcce09471d348a37fa22f072951aaa1053c79b00.tar.bz2 scummvm-rg350-dcce09471d348a37fa22f072951aaa1053c79b00.zip |
HDB: Add Cell related functions
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/ai-player.cpp | 5 |
1 files 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) { |