diff options
author | Nipun Garg | 2019-07-31 10:26:17 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:30 +0200 |
commit | 0fb3ad7ba05983fe64cc5f64294d58fa394935d1 (patch) | |
tree | 0007f5d15ee58e4ebc328cace36185997942117e /engines/hdb/map.cpp | |
parent | 6e357d9d9749f399c5c1a347d4e8d6f7881ce081 (diff) | |
download | scummvm-rg350-0fb3ad7ba05983fe64cc5f64294d58fa394935d1.tar.gz scummvm-rg350-0fb3ad7ba05983fe64cc5f64294d58fa394935d1.tar.bz2 scummvm-rg350-0fb3ad7ba05983fe64cc5f64294d58fa394935d1.zip |
HDB: Make Platform specific constants into variables
Diffstat (limited to 'engines/hdb/map.cpp')
-rw-r--r-- | engines/hdb/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp index 8c2de33e54..2c9bbd5af0 100644 --- a/engines/hdb/map.cpp +++ b/engines/hdb/map.cpp @@ -1162,8 +1162,8 @@ void Map::centerMapXY(int x, int y) { y = maxy; } - x -= (kScreenDrawWidth / 2); - y -= (kScreenDrawHeight / 2); + x -= (g_hdb->_screenDrawWidth / 2); + y -= (g_hdb->_screenDrawHeight / 2); setMapXY(x, y); } |