Mercurial > mm7
changeset 1302:0aa57a8d4804
current portal loop
author | Ritor1 |
---|---|
date | Mon, 24 Jun 2013 16:44:29 +0600 |
parents | 18665b8f66b2 |
children | ad903bb5b702 ad97fdea66ac |
files | mm7_2.cpp stru10.cpp |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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)