mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Merge CPrivilegedInfoCallback into CGameInfoCallback
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
#include "MiscObjects.h"
|
||||
|
||||
#include "../bonuses/Propagators.h"
|
||||
#include "../callback/CPrivilegedInfoCallback.h"
|
||||
#include "../callback/CGameInfoCallback.h"
|
||||
#include "../callback/IGameEventCallback.h"
|
||||
#include "../constants/StringConstants.h"
|
||||
#include "../entities/artifact/ArtifactUtils.h"
|
||||
@ -483,7 +483,7 @@ void CGSubterraneanGate::initObj(vstd::RNG & rand)
|
||||
type = BOTH;
|
||||
}
|
||||
|
||||
void CGSubterraneanGate::postInit(CPrivilegedInfoCallback * cb) //matches subterranean gates into pairs
|
||||
void CGSubterraneanGate::postInit(CGameInfoCallback * cb) //matches subterranean gates into pairs
|
||||
{
|
||||
//split on underground and surface gates
|
||||
std::vector<CGSubterraneanGate *> gatesSplit[2]; //surface and underground gates
|
||||
@ -986,7 +986,7 @@ void CGMagi::onHeroVisit(IGameEventCallback & gameEvents, const CGHeroInstance *
|
||||
}
|
||||
}
|
||||
|
||||
CGBoat::CGBoat(CPrivilegedInfoCallback * cb)
|
||||
CGBoat::CGBoat(CGameInfoCallback * cb)
|
||||
: CGObjectInstance(cb)
|
||||
{
|
||||
direction = 4;
|
||||
|
Reference in New Issue
Block a user