diff options
author | Einar Johan Trøan Sømåen | 2012-07-26 19:41:18 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-26 19:41:18 +0200 |
commit | 4eda234611bd77f053defe9e61d592b308270eaa (patch) | |
tree | cb0a437641b74b60b325ac9ccaa9b63dacab897d /engines/wintermute/ad/ad_region.cpp | |
parent | eb22e36d5e12b64442ce23c656227483dd9cf61e (diff) | |
download | scummvm-rg350-4eda234611bd77f053defe9e61d592b308270eaa.tar.gz scummvm-rg350-4eda234611bd77f053defe9e61d592b308270eaa.tar.bz2 scummvm-rg350-4eda234611bd77f053defe9e61d592b308270eaa.zip |
WINTERMUTE: Replace BaseArray with a templated subclass of Common::Array.
This needs additional cleanup, but compiles and runs at this point.
Diffstat (limited to 'engines/wintermute/ad/ad_region.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_region.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_region.cpp b/engines/wintermute/ad/ad_region.cpp index 6b104d51ad..18b5731830 100644 --- a/engines/wintermute/ad/ad_region.cpp +++ b/engines/wintermute/ad/ad_region.cpp @@ -131,7 +131,7 @@ bool AdRegion::loadBuffer(byte *buffer, bool complete) { for (int i = 0; i < _points.getSize(); i++) {
delete _points[i];
}
- _points.removeAll();
+ _points.clear();
int ar = 255, ag = 255, ab = 255, alpha = 255;
|