- 0
-
Recently Browsing
No registered users viewing this page.
-
Activity
-
-
4
-
2
-
10
SHOPEX RENEWAL
Mali61 edit main topic , when you apply mysql version this bug will solve good luck- 1
-
-
60
Shop Ex Renewal
thank you so much , when I use mysql version this bug solved https://gyazo.com/48477980cdc10660b036941cf2103213 -
0
ITEM_PROTO ApplyType, ApplyValue expand
Hello! I would like to ask how to expand in item_proto, ApplyType, and ApplyValue? -
60
Shop Ex Renewal
Thanks , you are on fire man mysql is a way better and organized -
188
WorldEditor ReMIX
The 4th problem is now fixed. https://gyazo.com/0d179583b8c6a06178b4ad005ea4338f V35 out! Enabled large address aware Fixed selected object text area "About box" a little bit larger- 4
-
-
60
-
Question
alexghinet 0
Can someone help me with this error in shop_manager.cpp please?
shopmanager.cpp
#ifdef ENABLE_RENEWAL_SHOPEX
{
std::unordered_set<CShop*> v;
// include unordered_set
auto ExDelete = [&v](TShopMap& c) {
for (auto it = c.begin(); !c.empty() && it != c.end();) {
const auto shop = it->second;
if (shop && shop->IsShopEx()) {
it = c.erase(it);
v.insert(shop);
}
else
++it;
}
};
ExDelete(m_map_pkShopByNPCVnum);
ExDelete(m_map_pkShop);
for (const auto& del : v)
delete del;
}
#endif
Link to post
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.