Fix RoF2 item hotkeys

This string thing needs to be longer! Still no idea what it is
This commit is contained in:
Michael Cook (mackal) 2015-02-09 03:02:25 -05:00
parent 48c65628d8
commit 45e7ff9193
2 changed files with 2 additions and 2 deletions

View File

@ -5053,7 +5053,7 @@ namespace RoF2
//sprintf(hdr.unknown000, "06e0002Y1W00");
snprintf(hdr.unknown000, sizeof(hdr.unknown000), "%012d", item->ID);
snprintf(hdr.unknown000, sizeof(hdr.unknown000), "%016d", item->ID);
hdr.stacksize = stackable ? charges : 1;
hdr.unknown004 = 0;

View File

@ -4353,7 +4353,7 @@ struct RoF2SlotStruct
struct ItemSerializationHeader
{
/*000*/ char unknown000[13]; // New for HoT. Looks like a string.
/*000*/ char unknown000[17]; // New for HoT. Looks like a string.
/*017*/ uint32 stacksize;
/*021*/ uint32 unknown004;
/*025*/ uint8 slot_type; // 0 = normal, 1 = bank, 2 = shared bank, 9 = merchant, 20 = ?