Skip to content

Commit

Permalink
Merge pull request #32950 from macrosblackd/Fix32933
Browse files Browse the repository at this point in the history
Fish traps will now deposit their catches on the tile they are located
  • Loading branch information
ZhilkinSerg authored Aug 6, 2019
2 parents c516690 + 6a12b1a commit 0e26fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1809,7 +1809,7 @@ int iuse::fish_trap( player *p, item *it, bool t, const tripoint &pos )
if( chosen_fish->fish_population <= 0 ) {
g->catch_a_monster( chosen_fish, pos, p, 300_hours ); //catch the fish!
} else {
g->m.add_item_or_charges( p->pos(), item::make_corpse( chosen_fish->type->id,
g->m.add_item_or_charges( pos, item::make_corpse( chosen_fish->type->id,
calendar::turn + rng( 0_turns,
3_hours ) ) );
}
Expand Down

0 comments on commit 0e26fde

Please sign in to comment.