fixed issue with player not gaining gold from normal dead enemies

This commit is contained in:
2024-07-18 18:52:14 -04:00
parent ea691a3bb1
commit 1c8ec2ec32

View File

@ -82,6 +82,8 @@ long_result player_base::move(level *lvl,
res.msg += "PC gains " +
std::to_string(g) +
" pieces of gold. ";
gold_cnt += g;
}
return res;
@ -223,6 +225,8 @@ long_result player_base::interpret_command(level *lvl, game_command cmd) {
res.msg += "PC gains " +
std::to_string(g) +
" pieces of gold. ";
gold_cnt += g;
}
return res;