diff options
| author | Travis Howell | 2004-09-14 02:56:36 +0000 |
|---|---|---|
| committer | Travis Howell | 2004-09-14 02:56:36 +0000 |
| commit | 674cdf130b9c096d06b4c2987b6cb264c4b1d8c2 (patch) | |
| tree | 9b11b574a89867f13cc9c70c48549b7d5fb27353 /scumm | |
| parent | 1439822d1bad04e396f7c11f7158638c7d7afdf2 (diff) | |
| download | scummvm-rg350-674cdf130b9c096d06b4c2987b6cb264c4b1d8c2.tar.gz scummvm-rg350-674cdf130b9c096d06b4c2987b6cb264c4b1d8c2.tar.bz2 scummvm-rg350-674cdf130b9c096d06b4c2987b6cb264c4b1d8c2.zip | |
Set numVerts when storing polygons
svn-id: r15106
Diffstat (limited to 'scumm')
| -rw-r--r-- | scumm/script_v7he.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index ad66d1c53c..faab9296a6 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -1059,6 +1059,7 @@ void ScummEngine_v7he::polygonStore(int id, bool flag, int vert1x, int vert1y, i _WizPolygons[i].vert[3].y = vert4y; _WizPolygons[i].vert[4].x = vert1x; _WizPolygons[i].vert[4].y = vert1y; + _WizPolygons[i].numVerts = 5; _WizPolygons[i].id = id; _WizPolygons[i].flag = flag; @@ -1083,8 +1084,6 @@ void ScummEngine_v7he::polygonErase(int fromId, int toId) { } void ScummEngine_v7he::o7_polygonHit() { - // Checks virtual mouse x/y co-ordinates when in verb/inventory area - // Maybe checks for polygons ? int y = pop(); int x = pop(); |
