game: instantiate COfflineShopManager under ENABLE_OFFLINESHOP_SYSTEM
Without the singleton, channel boot segfaults in CInputDB::Boot -> LoadSearchLanguage. Verified on the sbtest cluster. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5b7442ea37
commit
aa0afefe86
@@ -13,6 +13,7 @@
|
||||
#include "motion.h"
|
||||
#include "sectree_manager.h"
|
||||
#include "shop_manager.h"
|
||||
#include "offlineshop_manager.h"
|
||||
#include "regen.h"
|
||||
#include "text_file_loader.h"
|
||||
#include "skill.h"
|
||||
@@ -481,6 +482,9 @@ int main(int argc, char **argv)
|
||||
CHARACTER_MANAGER char_manager;
|
||||
ITEM_MANAGER item_manager;
|
||||
CShopManager shop_manager;
|
||||
#ifdef ENABLE_OFFLINESHOP_SYSTEM
|
||||
COfflineShopManager offline_shop_manager;
|
||||
#endif
|
||||
CMobManager mob_manager;
|
||||
CMotionManager motion_manager;
|
||||
CPartyManager party_manager;
|
||||
|
||||
Reference in New Issue
Block a user