aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/map-loader.cpp6
-rw-r--r--engines/hdb/map-loader.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/hdb/map-loader.cpp b/engines/hdb/map-loader.cpp
index 984062fa59..f0f9370e97 100644
--- a/engines/hdb/map-loader.cpp
+++ b/engines/hdb/map-loader.cpp
@@ -83,9 +83,9 @@ bool Map::load(Common::SeekableReadStream *stream) {
TODO: Set the InMapName once its setup
*/
- _mapExplosions = new char[_width * _height];
- _mapExpBarrels = new char[_width * _height];
- _mapLaserBeams = new char[_width * _height];
+ _mapExplosions = new byte[_width * _height];
+ _mapExpBarrels = new byte[_width * _height];
+ _mapLaserBeams = new byte[_width * _height];
_mapX = _mapY = 0;
diff --git a/engines/hdb/map-loader.h b/engines/hdb/map-loader.h
index 5ac3dae7f8..578dc1d589 100644
--- a/engines/hdb/map-loader.h
+++ b/engines/hdb/map-loader.h
@@ -72,9 +72,9 @@ private:
uint16 *_foreground;
MSMIcon *_iconList;
- char *_mapExplosions;
- char *_mapExpBarrels;
- char *_mapLaserBeams;
+ byte *_mapExplosions;
+ byte *_mapExpBarrels;
+ byte *_mapLaserBeams;
bool _mapLoaded;
};