aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/map-loader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/hdb/map-loader.h b/engines/hdb/map-loader.h
index 199d9fe738..62d494c662 100644
--- a/engines/hdb/map-loader.h
+++ b/engines/hdb/map-loader.h
@@ -114,6 +114,13 @@ public:
_mapExplosions[y * _width + x] = value;
}
+ bool boomBarrelExist(int x, int y) {
+ return _mapExpBarrels[y * _width + x];
+ }
+ void setBoomBarrel(int x, int y, int value) {
+ _mapExpBarrels[y * _width + x] = value;
+ }
+
bool laserBeamExist(int x, int y) {
return _mapLaserBeams[y * _width + x];
}