diff mm7_1.cpp @ 564:8b77231088d8

Moon Temple doesn't crash
author Nomad
date Tue, 05 Mar 2013 01:45:15 +0200
parents b23f19fc0d1b
children fcbb3c281217
line wrap: on
line diff
--- a/mm7_1.cpp	Tue Mar 05 00:25:08 2013 +0200
+++ b/mm7_1.cpp	Tue Mar 05 01:45:15 2013 +0200
@@ -5800,7 +5800,7 @@
   _50B924_view_transformed_xs[v1->uNumVertices] = _50B924_view_transformed_xs[0];
   _50B834_view_transformed_zs[v1->uNumVertices] = _50B834_view_transformed_zs[0];
   _50B744_view_transformed_ys[v1->uNumVertices] = _50B744_view_transformed_ys[0];
-  thisa = _50B924_view_transformed_xs[0] >= 0x80000u;
+  thisa = _50B924_view_transformed_xs[0] >= (signed int)0x80000u;
   //int i = 1;
   for (uint i = 1; i <= v1->uNumVertices; ++i)
   {