Skip to content

Commit

Permalink
Code format - (Clang-format)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 12, 2024
1 parent dd80caf commit fd8981d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/game/game.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ class Game {
const Badge getBadgeById(uint8_t id);
std::unordered_set<Badge> getBadges();

// void registerTitle(uint8_t id, std::string maleName, std::string femaleName, std::string type, std::string description, bool permanent);
// void registerTitle(uint8_t id, std::string maleName, std::string femaleName, std::string type, std::string description, bool permanent);
Title getTitleById(uint8_t id);
std::unordered_set<Title> getTitles();

Expand Down
12 changes: 6 additions & 6 deletions src/lua/functions/creatures/player/player_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4317,12 +4317,12 @@ int PlayerFunctions::luaPlayerGetTitles(lua_State* L) {
return 1;
}

// if (auto item = player->title()->getUnlockedTitles()) {
// pushUserdata<Item>(L, item);
// setItemMetatable(L, -1, item);
// } else {
// pushBoolean(L, false);
// }
// if (auto item = player->title()->getUnlockedTitles()) {
// pushUserdata<Item>(L, item);
// setItemMetatable(L, -1, item);
// } else {
// pushBoolean(L, false);
// }
return 1;
}

Expand Down

0 comments on commit fd8981d

Please sign in to comment.