🔥 Remove more miniwin dependencies

This commit is contained in:
Anders Jenbo 2021-04-29 20:48:58 +02:00
commit f884ba5340
34 changed files with 83 additions and 105 deletions

View file

@ -140,7 +140,7 @@ void PackPlayer(PkPlayerStruct *pPack, int pnum, bool manashield)
*/
void UnPackItem(const PkItemStruct *is, ItemStruct *id, bool isHellfire)
{
WORD idx = SDL_SwapLE16(is->idx);
uint16_t idx = SDL_SwapLE16(is->idx);
if (idx == 0xFFFF) {
id->_itype = ITYPE_NONE;
return;