🎨 Acceptable parts of modernize-*

This commit is contained in:
Anders Jenbo 2021-04-19 20:08:03 +02:00
commit 373f28736f
63 changed files with 608 additions and 665 deletions

View file

@ -95,8 +95,8 @@ void InitDiabloMsg(diablo_message e)
void ClrDiabloMsg()
{
for (unsigned i = 0; i < sizeof(msgtable); i++)
msgtable[i] = EMSG_NONE;
for (auto &msg : msgtable)
msg = EMSG_NONE;
msgflag = EMSG_NONE;
msgcnt = 0;