# HG changeset patch # User Ritor1 # Date 1372070669 -21600 # Node ID 0aa57a8d4804c88b389a65591b5a85eab9a1e32c # Parent 18665b8f66b260bcf723f22c38c3dcaaa6dc30a4 current portal loop diff -r 18665b8f66b2 -r 0aa57a8d4804 mm7_2.cpp --- a/mm7_2.cpp Mon Jun 24 13:47:13 2013 +0600 +++ b/mm7_2.cpp Mon Jun 24 16:44:29 2013 +0600 @@ -7612,7 +7612,7 @@ v127 = v9; v126 = v124; LABEL_268: - v116 = word_4EE088_sound_ids[v2->spell_id - 1]; + v116 = word_4EE088_sound_ids[v2->spell_id]; LABEL_269: v125 = v116 + 1; goto LABEL_29; diff -r 18665b8f66b2 -r 0aa57a8d4804 stru10.cpp --- a/stru10.cpp Mon Jun 24 13:47:13 2013 +0600 +++ b/stru10.cpp Mon Jun 24 16:44:29 2013 +0600 @@ -147,16 +147,16 @@ } } - float x_min = FLT_MAX; + float x_min = v46[0].x; uint x_min_idx = 0; - float x_max = FLT_MIN; + float x_max = v46[0].x; uint x_max_idx = 0; - float y_min = FLT_MAX; + float y_min = v46[0].y; uint y_min_idx = 0; - float y_max = FLT_MIN; + float y_max = v46[0].y; uint y_max_idx = 0; for (uint i = 0; i < pFace->uNumVertices; ++i)