From b9e63a41a46e4366ccd97e9eb5ca6b2a2c782dc0 Mon Sep 17 00:00:00 2001 From: lukaslw Date: Sun, 1 Jun 2014 04:25:01 +0200 Subject: PRINCE: Hero checkNak - small clean up --- engines/prince/hero.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/engines/prince/hero.cpp b/engines/prince/hero.cpp index aeef68d4b2..ea786f289d 100644 --- a/engines/prince/hero.cpp +++ b/engines/prince/hero.cpp @@ -201,13 +201,12 @@ void Hero::countDrawPosition() { _frameYSize = _moveSet[_moveSetType]->getFrameHeight(_phase); _scaledFrameXSize = getScaledValue(_frameXSize); _scaledFrameYSize = getScaledValue(_frameYSize); - - //TODO + //int tempHeroHeight = _scaledFrameYSize; // not used? global? int width = _frameXSize / 2; - tempMiddleX = _middleX - width; //eax - int z = _middleY; //ebp - int y = _middleY - _scaledFrameYSize; //ecx + tempMiddleX = _middleX - width; + int z = _middleY; + int y = _middleY - _scaledFrameYSize; _vm->checkMasks(tempMiddleX, y, _scaledFrameXSize, _scaledFrameYSize, z); if (_zoomFactor != 0) { -- cgit v1.2.3