fixed issue with player not gaining gold from normal dead enemies
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user