Better assertions on item generation tests

[Diablo/Hellfire] Also clear PkItemStruct when calling PackItem() to
avoid garbage data ending up in the saves.
This commit is contained in:
Anders Jenbo 2021-03-03 09:30:09 +01:00
commit c71efb5960
8 changed files with 314 additions and 132 deletions

View file

@ -1263,7 +1263,7 @@ void delta_close_portal(int pnum)
static void check_update_plr(int pnum)
{
if (gbIsMultiplayer && pnum == myplr)
pfile_update(TRUE);
pfile_update(true);
}
static void msg_errorf(const char *pszFmt, ...)