parent
248d527a56
commit
55607e9c99
1 changed files with 1 additions and 3 deletions
|
@ -619,9 +619,7 @@ void Script::playfieldClick(const Point& mousePoint, bool leftButton) {
|
|||
|
||||
hitZone = NULL;
|
||||
|
||||
if (objectTypeId(_pendingObject[0]) == 0)
|
||||
return;
|
||||
else if (objectTypeId(_pendingObject[0]) == kGameObjectHitZone) {
|
||||
if (objectTypeId(_pendingObject[0]) == kGameObjectHitZone) {
|
||||
hitZone = _vm->_scene->_objectMap->getHitZone(objectIdToIndex(_pendingObject[0]));
|
||||
} else {
|
||||
if ((_pendingVerb == getVerbType(kVerbUse)) && (objectTypeId(_pendingObject[1]) == kGameObjectHitZone)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue