Fix typo ActionLayer::receiveEventPlus(...)
This method is rarely used, however it returned 0 after adding stuff. It now returns the sum.
This commit is contained in:
@@ -264,7 +264,7 @@ int ActionLayer::receiveEventPlus(WEvent * event)
|
|||||||
ActionElement * currentAction = (ActionElement *) mObjects[i];
|
ActionElement * currentAction = (ActionElement *) mObjects[i];
|
||||||
result += currentAction->receiveEvent(event);
|
result += currentAction->receiveEvent(event);
|
||||||
}
|
}
|
||||||
return 0;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ActionLayer::isReactingToTargetClick(Targetable * card)
|
int ActionLayer::isReactingToTargetClick(Targetable * card)
|
||||||
|
|||||||
Reference in New Issue
Block a user