diff options
author | D G Turner | 2019-09-04 19:47:15 +0100 |
---|---|---|
committer | D G Turner | 2019-09-04 19:47:15 +0100 |
commit | cb88db65cdff4302dd5952a0ed2a048ba5ef489a (patch) | |
tree | 3d6f194176cdeac53cd5f49d9c8d523d42f39fa1 /engines/hdb/ai-lists.cpp | |
parent | 9d709866a5578de2c9e5bf2eebf966f66a849650 (diff) | |
download | scummvm-rg350-cb88db65cdff4302dd5952a0ed2a048ba5ef489a.tar.gz scummvm-rg350-cb88db65cdff4302dd5952a0ed2a048ba5ef489a.tar.bz2 scummvm-rg350-cb88db65cdff4302dd5952a0ed2a048ba5ef489a.zip |
HDB: Fix Some GCC Compiler Warnings
Diffstat (limited to 'engines/hdb/ai-lists.cpp')
-rw-r--r-- | engines/hdb/ai-lists.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp index fd6a0fd9c9..27dbc7aff7 100644 --- a/engines/hdb/ai-lists.cpp +++ b/engines/hdb/ai-lists.cpp @@ -730,8 +730,7 @@ bool AI::checkTeleportList(AIEntity *e, int x, int y) { e->draw = e->standdownGfx[0]; if (e == _player) { - memset(&_waypoints[0], 0, sizeof(_waypoints)); - _numWaypoints = 0; + clearWaypoints(); } switch (e->dir) { |