Mercurial > mm7
diff mm7_3.cpp @ 998:e4383e6dfbef
ProcessInput
author | Ritor1 |
---|---|
date | Tue, 14 May 2013 17:37:24 +0600 |
parents | 9334a8c59c8d |
children | dcdfbb6eede9 |
line wrap: on
line diff
--- a/mm7_3.cpp Tue May 14 10:07:33 2013 +0600 +++ b/mm7_3.cpp Tue May 14 17:37:24 2013 +0600 @@ -4100,7 +4100,7 @@ //----- (00477C61) -------------------------------------------------------- int stru6_stru1_indoor_sw_billboard::sub_477C61() { - stru6_stru1_indoor_sw_billboard *v1; // ebx@1 + //stru6_stru1_indoor_sw_billboard *v1; // ebx@1 int v2; // ecx@2 int v3; // eax@3 double v4; // st7@4 @@ -4142,13 +4142,13 @@ float v41; // [sp+2Ch] [bp-4h]@6 float v42; // [sp+2Ch] [bp-4h]@9 - v1 = this; + //v1 = this; if ( uCurrentlyLoadedLevelType == LEVEL_Indoor ) { v2 = 0; - if ( v1->field_10 > 0 ) - { - v3 = (int)&v1->field_14[1]; + if ( this->field_10 > 0 ) + { + v3 = (int)&this->field_14[1]; do { v4 = *(float *)(v3 - 4); @@ -4199,7 +4199,7 @@ *(float *)(v3 + 80) = v11; v3 += 16; } - while ( v2 < v1->field_10 ); + while ( v2 < this->field_10 ); } } else @@ -4244,7 +4244,7 @@ } while ( v31 ); } - v1->field_10 = 3; + this->field_10 = 3; return 1; }