We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e88a74d commit 75d9d1cCopy full SHA for 75d9d1c
crawl-ref/source/beam.cc
@@ -2866,7 +2866,7 @@ void bolt::drop_object()
2866
2867
// If the player threw this, mark it as thrown so that they'll pick it up
2868
// again when they walk over it.
2869
- if (id != NON_ITEM && ranged_atk->attacker->is_player())
+ if (id >= 0 && id != NON_ITEM && ranged_atk->attacker->is_player())
2870
env.item[id].flags |= ISFLAG_THROWN;
2871
}
2872
0 commit comments