Skip to content

Commit

Permalink
Resolves an issue where fish corpses would be pre-rotten
Browse files Browse the repository at this point in the history
  • Loading branch information
wito committed Jan 21, 2014
1 parent 3efd096 commit 5abf72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ void game::process_activity()
std::vector<std::string> fish_group = MonsterGroupManager::GetMonstersFromGroup("GROUP_FISH");
std::string fish_mon = fish_group[rng(1, fish_group.size()) - 1];

fish.make_corpse(itypes["corpse"], GetMType(fish_mon), 0);
fish.make_corpse(itypes["corpse"], GetMType(fish_mon), g->turn);
m.add_item_or_charges(u.posx, u.posy, fish);

g->add_msg_if_player(&u, _("You catch a fish!"));
Expand Down

0 comments on commit 5abf72b

Please sign in to comment.