Browse Source

🧹 Fix a couple more compilation warnings

pull/1750/head
Gleb Mazovetskiy 5 years ago committed by Anders Jenbo
parent
commit
28182ca5e3
  1. 2
      Source/dead.cpp
  2. 1
      Source/towners.cpp

2
Source/dead.cpp

@ -65,7 +65,7 @@ void InitDead()
}
}
assert(nd <= MaxDead);
assert(static_cast<unsigned>(nd) <= MaxDead);
}
void AddDead(Point tilePosition, int8_t dv, direction ddir)

1
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;

Loading…
Cancel
Save