diff options
author | Nipun Garg | 2019-08-18 00:39:41 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:34 +0200 |
commit | 7e0af9a2cbcc4b48cf30b507575014e87555eb1d (patch) | |
tree | 07bb4e03655dd032e081c476c43fe64513673895 /engines/hdb | |
parent | 0dbc63a31f03dba301a67bfa9a9b4fac5af4d781 (diff) | |
download | scummvm-rg350-7e0af9a2cbcc4b48cf30b507575014e87555eb1d.tar.gz scummvm-rg350-7e0af9a2cbcc4b48cf30b507575014e87555eb1d.tar.bz2 scummvm-rg350-7e0af9a2cbcc4b48cf30b507575014e87555eb1d.zip |
HDB: Fix Try Again position
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index 5e629a526a..853f4e617d 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -1707,7 +1707,7 @@ void Window::drawTryAgain() { _gfxTry->drawMasked((int)_tryAgainInfo.x1 + xv, (int)_tryAgainInfo.y1 + yv); _gfxAgain->drawMasked((int)_tryAgainInfo.x2 + yv, (int)_tryAgainInfo.y2 + xv); - _gfxLevelRestart->drawMasked((int)(g_hdb->_screenDrawWidth / 2 - _gfxLevelRestart->_width + xv), _tryRestartY + yv); + _gfxLevelRestart->drawMasked((int)(g_hdb->_screenDrawWidth / 2 - _gfxLevelRestart->_width / 2 + xv), g_hdb->_window->_tryRestartY + yv); } void Window::clearTryAgain() { |