diff options
author | Nipun Garg | 2019-07-05 00:06:28 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:11 +0200 |
commit | bcbe095ef8d172680318632c5d20ccf78b9c0e80 (patch) | |
tree | d1ea6c296573fcfead2b33dfe896a7a8a4005357 /engines/hdb/ai-init.cpp | |
parent | d356756e6d2fd0802919987e120b4f55973e6a5d (diff) | |
download | scummvm-rg350-bcbe095ef8d172680318632c5d20ccf78b9c0e80.tar.gz scummvm-rg350-bcbe095ef8d172680318632c5d20ccf78b9c0e80.tar.bz2 scummvm-rg350-bcbe095ef8d172680318632c5d20ccf78b9c0e80.zip |
HDB: Commet out non-compiling code
Diffstat (limited to 'engines/hdb/ai-init.cpp')
-rw-r--r-- | engines/hdb/ai-init.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index d6e2b3fb78..5e40823ab7 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -772,6 +772,7 @@ bool AI::init() { _kcHolderBlackOff = g_hdb->_gfx->getTileIndex("anim_t32_kcholder_black_off1"); _kcHolderBlackOn = g_hdb->_gfx->getTileIndex("t32_kcholder_black_on"); +#if 0 // icepuff snowball icepSnowballGfxDown = icepSnowballGfxLeft = icepSnowballGfxRight = NULL; @@ -784,6 +785,7 @@ bool AI::init() { // laser beam gfxLaserbeamUD[0] = gfxLaserbeamUD[1] = gfxLaserbeamLR[0] = gfxLaserbeamLR[1] = NULL; +#endif _dummyPlayer.type = AI_GUY; _dummyLaser.type = AI_LASERBEAM; @@ -847,6 +849,7 @@ void AI::restartSystem() { memset(_clubLeftGfx, NULL, kMaxAnimFrames * sizeof(Tile *)); memset(_clubRightGfx, NULL, kMaxAnimFrames * sizeof(Tile *)); +#if 0 int i; if (icepSnowballGfxDown) { icepSnowballGfxDown->free(); @@ -920,6 +923,7 @@ void AI::restartSystem() { gfxLaserbeamLRRight[i] = NULL; } } +#endif // Clear the Action list memset(_actions, 0, sizeof(_actions)); |