Skip to content

Commit

Permalink
fix warnig build
Browse files Browse the repository at this point in the history
  • Loading branch information
beats-dh committed May 21, 2024
1 parent 7db742e commit dff3733
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/items/tile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ class Tile : public Cylinder, public SharedObject {
resetTileFlags(ground);
}

if (ground = item) {
ground = item;
if (ground) {
setTileFlags(item);
}
}
Expand Down

0 comments on commit dff3733

Please sign in to comment.