diff Items.h @ 193:821fd955c379

fixed potion data parsing. Somehow 3d render was affected
author Gloval
date Sat, 16 Feb 2013 18:46:59 +0400
parents 9c0607679772
children 30aa44013f7a 8113753ed2ae
line wrap: on
line diff
--- a/Items.h	Sat Feb 16 13:28:34 2013 +0400
+++ b/Items.h	Sat Feb 16 18:46:59 2013 +0400
@@ -178,6 +178,7 @@
 #pragma pack(pop)
 
 
+
 /*  176 */
 #pragma pack(push, 1)
 struct ItemsTable
@@ -192,7 +193,11 @@
   char *Release();
 
 
-  ItemDesc pItems[800];
+  ItemDesc pItems[638];
+  char align1[18];
+  unsigned __int8 potion_data[50][50]; //int8!!!! not int16 as in decomp code. hexrays wrong!!
+  unsigned __int8 potion_note[50][50];
+  char align2[2758];
   ItemEnchantment pEnchantments[24];
   ItemSpecialEnchantment pSpecialEnchantments[72];
   char field_9FC0[5000];