v2.0.0: fixed NPC interaction not checking if NPCs have died
This commit is contained in:
@@ -792,7 +792,7 @@ public class Hero extends Char {
|
||||
|
||||
Char ch = action.ch;
|
||||
|
||||
if (ch.canInteract(this)) {
|
||||
if (ch.isAlive() && ch.canInteract(this)) {
|
||||
|
||||
ready();
|
||||
sprite.turnTo( pos, ch.pos );
|
||||
|
||||
Reference in New Issue
Block a user