PINK: make LeadActor::isInteractingWith const

This commit is contained in:
Henrik "Henke37" Andersson 2020-02-13 23:22:03 +01:00 committed by Eugene Sandulenko
parent 3629415345
commit 5b4616e8ef
2 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ void LeadActor::onPDAClose() {
_page->pause(0);
}
bool LeadActor::isInteractingWith(Actor *actor) {
bool LeadActor::isInteractingWith(const Actor *actor) const {
if (!_isHaveItem)
return actor->isLeftClickHandlers();

View File

@ -84,7 +84,7 @@ public:
void onWalkEnd(const Common::String &stopName);
void onPDAClose();
bool isInteractingWith(Actor *actor);
bool isInteractingWith(const Actor *actor) const;
void setNextExecutors(const Common::String &nextModule, const Common::String &nextPage);