Skip to content

Commit

Permalink
Fix code format
Browse files Browse the repository at this point in the history
  • Loading branch information
ramon-bernardo committed Nov 7, 2024
1 parent 970f183 commit 835962b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ std::string Container::getName(bool addArticle /* = false*/) const
return getNameDescription(it, this, -1, addArticle);
}

bool Container::hasContainerParent() const { return getID() != ITEM_BROWSEFIELD && !dynamic_cast<const Player*>(getParent()); }
bool Container::hasContainerParent() const
{
return getID() != ITEM_BROWSEFIELD && !dynamic_cast<const Player*>(getParent());
}

void Container::addItem(Item* item)
{
Expand Down

0 comments on commit 835962b

Please sign in to comment.