Skip to content

Commit

Permalink
Minor fix to tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyx14 committed Oct 20, 2018
1 parent 742ba55 commit c41d135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
- Fix and update mods / description autor
- Fix console errors on 7.x (duplicate commands)
- Fix https://otland.net/threads/crash.260035/#post-2515145
- Fix #102, #104, #194, #210, #212, #286, #388(KOLISAO)
- Fix #102, #104, #194, #210, #212, #286, #388(KOLISAO), #390
- Fix https://github.com/mattyx14/otxserver/issues/337#issuecomment-428760984
]

Expand Down
2 changes: 1 addition & 1 deletion path_7_x/sources/tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ Cylinder* Tile::__queryDestination(int32_t&, const Thing*, Item** destItem,

if(destTile)
{
if(Item* item = destTile->getTopDownItem())
if(Item* item = destTile->getTopTopItem())
*destItem = item;
}

Expand Down

0 comments on commit c41d135

Please sign in to comment.