Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brightrim committed Jan 2, 2025
1 parent 1be77d6 commit 7ed3c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ auto Player::lookIntoContainerOnField(direction dir) -> bool {
Item item;

if (field.viewItemOnStack(item)) {
if (isIdInDepotArray(item.getId()) && item.isContainer()) {
if (isIdInDepotArray(item.getId()) == false && item.isContainer()) {
auto it = field.containers.find(item.getNumber());

if (it != field.containers.end()) {
Expand Down

0 comments on commit 7ed3c3a

Please sign in to comment.