mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 07:39:08 +00:00
PINK: make LeadActor::isInteractingWith const
This commit is contained in:
parent
3629415345
commit
5b4616e8ef
@ -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();
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user