STARK: Draw the cursor relative to its hotspot

This commit is contained in:
Bastien Bouclet 2015-12-30 12:21:40 +01:00
parent e75701d038
commit 8cdc1eb53e

View File

@ -102,7 +102,7 @@ void Cursor::render() {
_gfx->setScreenViewport(true); // The cursor is drawn unscaled
if (_cursorImage) {
_cursorImage->setFadeLevel(_fadeLevel);
_cursorImage->render(_mousePos, false);
_cursorImage->render(_mousePos, true);
}
if (_mouseText) {
// TODO: Should probably query the image for the width of the cursor