FULLPIPE: Implement CInventory2::handleLeftClick()

This commit is contained in:
Eugene Sandulenko 2013-08-31 00:04:40 +03:00
parent 638bd3014e
commit b559257358
3 changed files with 92 additions and 13 deletions

View file

@ -100,7 +100,8 @@ void CInputController::drawCursor(int x, int y) {
_cursorsArray[_cursorIndex]->picture->draw(_cursorBounds.left, _cursorBounds.top, 0, 0);
if (_cursorItemPicture)
_cursorItemPicture->draw(_cursorsArray[_cursorIndex]->itemPictureOffsX, _cursorsArray[_cursorIndex]->itemPictureOffsY, 0, 0);
_cursorItemPicture->draw(_cursorBounds.left + _cursorsArray[_cursorIndex]->itemPictureOffsX,
_cursorBounds.top + _cursorsArray[_cursorIndex]->itemPictureOffsY, 0, 0);
}
void CInputController::setCursor(int cursorId) {