Mercurial > mm7
diff mm7_2.cpp @ 186:d65528fc3bda
D3D constants, shore tiles, camera flags
author | Nomad |
---|---|
date | Fri, 15 Feb 2013 19:53:40 +0200 |
parents | 428cbb33872c |
children | 49728858c35e |
line wrap: on
line diff
--- a/mm7_2.cpp Fri Feb 15 19:46:25 2013 +0600 +++ b/mm7_2.cpp Fri Feb 15 19:53:40 2013 +0200 @@ -4872,10 +4872,11 @@ static_stru_F8BA58.field_0 = 0; if ( _this && *_this ) { - v2 = (char *)&unk_F8B668; + int i = 0; + v2 = (char *)&array_F8B668; v3 = 1; v7 = 0; - v4 = _this - (char *)&unk_F8B668; + v4 = _this - (char *)&array_F8B668; do { v5 = v2[v4]; @@ -4920,8 +4921,9 @@ if ( static_stru_F8BA58.field_0 >= 30 ) break; ++v2; - } - while ( (unsigned int)v2 < (unsigned int)&unk_F8BA50 ); + ++i; + } + while (i < 1000); *v2 = 0; } result = a2;