mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Split registerTypes into multiple files, now in lib/registerTypes
directory in order to reduce huge memory usage by gcc
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
#include "../lib/CCreatureSet.h"
|
||||
#include "../lib/CThreadHelper.h"
|
||||
#include "../lib/GameConstants.h"
|
||||
#include "../lib/RegisterTypes.h"
|
||||
#include "../lib/registerTypes/RegisterTypes.h"
|
||||
|
||||
/*
|
||||
* CGameHandler.cpp, part of VCMI engine
|
||||
@ -1065,7 +1065,7 @@ CGameHandler::CGameHandler(void)
|
||||
//gs = nullptr;
|
||||
IObjectInterface::cb = this;
|
||||
applier = new CApplier<CBaseForGHApply>;
|
||||
registerTypes3(*applier);
|
||||
registerTypesServerPacks(*applier);
|
||||
visitObjectAfterVictory = false;
|
||||
queries.gh = this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user