diff options
Diffstat (limited to 'src/ui_action.cpp')
-rw-r--r-- | src/ui_action.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui_action.cpp b/src/ui_action.cpp index a7bb36b..264100d 100644 --- a/src/ui_action.cpp +++ b/src/ui_action.cpp @@ -137,10 +137,8 @@ void actionAction(void) auto e = currentWorld->getNearInteractable(*player); - if (e->type == NPCT) { - if (!NPCp(e)->aiFunc.empty()) - e->interact(); - } + if (e->type == NPCT) + e->interact(); ACTION_EPILOUGE; } |