diff mm7_data.cpp @ 436:4a42c2f97aa2

some itemgen crashes fixed
author Gloval
date Sun, 24 Feb 2013 10:13:00 +0400
parents 137c59c3dbc4
children 17c90e543e28
line wrap: on
line diff
--- a/mm7_data.cpp	Sun Feb 24 03:07:03 2013 +0200
+++ b/mm7_data.cpp	Sun Feb 24 10:13:00 2013 +0400
@@ -1104,7 +1104,14 @@
 char aEWorkMsdevMm_7[777]; // idb
 char aGammaControlNo[777]; // idb
 __int16 word_4E8152[11] = {0, 0, 0, 90, 8, 2, 70, 20, 10, 50, 30};
-char byte_4E8168[116];
+char byte_4E8168[7][14]={  //byte_4E8178
+	{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 
+	{ 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2},
+	{ 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3},
+	{ 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4},
+	{ 2, 2, 2, 2, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5},
+	{ 2, 2, 2, 2, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6},
+	{ 2, 2, 2, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7}};
 char aD3dTextureName[777]; // idb
 char aLogd3d_txt[777]; // idb
 char byte_4E8394[204] =