diff options
author | Eugene Sandulenko | 2005-05-23 02:00:49 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-05-23 02:00:49 +0000 |
commit | b9e8e4080559f0ce9b249d3fb4c39db1431692f0 (patch) | |
tree | 795aef28cb3fdae36054ed096b2cfee8adc9f694 /scumm/script_v72he.cpp | |
parent | f7e418d6384236c66ecb88190f815e0380d71382 (diff) | |
download | scummvm-rg350-b9e8e4080559f0ce9b249d3fb4c39db1431692f0.tar.gz scummvm-rg350-b9e8e4080559f0ce9b249d3fb4c39db1431692f0.tar.bz2 scummvm-rg350-b9e8e4080559f0ce9b249d3fb4c39db1431692f0.zip |
Turn Wiz struct into class as requested.
svn-id: r18224
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 590a63dcaf..1a33969bb3 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -735,8 +735,8 @@ int ScummEngine_v72he::findObject(int x, int y, int num, int *args) { continue; // Check polygon bounds - if (_wiz.polygonDefined(_objs[i].obj_nr)) { - if (_wiz.polygonHit(_objs[i].obj_nr, x, y)) + if (_wiz->polygonDefined(_objs[i].obj_nr)) { + if (_wiz->polygonHit(_objs[i].obj_nr, x, y)) result = _objs[i].obj_nr; else if (VAR_POLYGONS_ONLY != 0xFF && VAR(VAR_POLYGONS_ONLY)) continue; |