Browse Source

🐛 Fix queuing operating object when clicking during attack (#1678)

pull/1741/head
qndel 5 years ago committed by GitHub
parent
commit
bdf4b848a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/player.cpp

2
Source/player.cpp

@ -3471,8 +3471,6 @@ void CheckNewPath(int pnum)
if (object[i]._oBreak == 1) {
d = GetDirection(plr[pnum].position.tile, object[i].position);
StartAttack(pnum, d);
} else {
OperateObject(pnum, i, false);
}
}
}

Loading…
Cancel
Save