Skip to content

Commit

Permalink
fixing warning of GHA [-Wreorder].
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel committed Apr 30, 2024
1 parent 98e927d commit 977e4d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/creatures/creatures_definitions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1646,22 +1646,22 @@ struct LootBlock {

struct ShopBlock {
uint16_t itemId;
std::string itemName;
int32_t itemSubType;
uint32_t itemBuyPrice;
uint32_t itemSellPrice;
int32_t itemStorageKey;
int32_t itemStorageValue;

std::string itemName;
std::vector<ShopBlock> childShop;

ShopBlock() {
itemId = 0;
itemName = "";
itemSubType = 0;
itemBuyPrice = 0;
itemSellPrice = 0;
itemStorageKey = 0;
itemStorageValue = 0;
itemName = "";
}

explicit ShopBlock(uint16_t newItemId, int32_t newSubType = 0, uint32_t newBuyPrice = 0, uint32_t newSellPrice = 0, int32_t newStorageKey = 0, int32_t newStorageValue = 0, std::string newName = "") :
Expand Down

0 comments on commit 977e4d7

Please sign in to comment.