diff --git a/Source/dead.cpp b/Source/dead.cpp index 047b56afb..919e8e7a7 100644 --- a/Source/dead.cpp +++ b/Source/dead.cpp @@ -65,7 +65,7 @@ void InitDead() } } - assert(nd <= MaxDead); + assert(static_cast(nd) <= MaxDead); } void AddDead(Point tilePosition, int8_t dv, direction ddir) diff --git a/Source/towners.cpp b/Source/towners.cpp index bde6d3bd7..dbbdd19aa 100644 --- a/Source/towners.cpp +++ b/Source/towners.cpp @@ -204,7 +204,6 @@ void NewTownerAnim(int tnum, BYTE *pAnim, uint8_t numFrames, int Delay) void InitTownerInfo(int i, int w, bool sel, _talker_id t, int x, int y, int ao) { - memset(&towners[i], 0, sizeof(TownerStruct)); towners[i]._tSelFlag = sel; towners[i]._tAnimWidth = w; towners[i]._tMsgSaid = false;