Skip to content

Commit c735263

Browse files
Fixed computers redropping creatures they just dropped (dkfans#4844)
1 parent f275f87 commit c735263

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/player_comptask.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2858,7 +2858,7 @@ struct Thing *find_creature_for_defend_pickup(struct Computer2 *comp)
28582858
{
28592859
if (!creature_is_doing_lair_activity(thing) && !creature_is_being_dropped(thing))
28602860
{
2861-
if (cctrl->dropped_turn < (COMPUTER_REDROP_DELAY + get_gameturn()))
2861+
if ((cctrl->dropped_turn + COMPUTER_REDROP_DELAY) < get_gameturn())
28622862
{
28632863
struct PerExpLevelValues* expvalues;
28642864
struct CreatureModelConfig* crconf = creature_stats_get(thing->model);

0 commit comments

Comments
 (0)