mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
map objects hierarchy now uses IGameInfoCallback
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include "CGPathNode.h"
|
||||
#include "PathfinderOptions.h"
|
||||
|
||||
#include "../callback/CGameInfoCallback.h"
|
||||
#include "../callback/IGameInfoCallback.h"
|
||||
#include "../mapObjects/CGHeroInstance.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
@@ -35,7 +35,7 @@ std::shared_ptr<CPathsInfo> PathfinderCache::buildPaths(const CGHeroInstance * h
|
||||
return result;
|
||||
}
|
||||
|
||||
PathfinderCache::PathfinderCache(const CGameInfoCallback * cb, const PathfinderOptions & options)
|
||||
PathfinderCache::PathfinderCache(const IGameInfoCallback * cb, const PathfinderOptions & options)
|
||||
: cb(cb)
|
||||
, options(options)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user