mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Map objects now use shared_ptr (game)
This commit is contained in:
@@ -23,8 +23,8 @@ protected:
|
||||
VisitQuery(CGameHandler * owner, const CGObjectInstance * Obj, const CGHeroInstance * Hero);
|
||||
|
||||
public:
|
||||
const CGObjectInstance * visitedObject;
|
||||
const CGHeroInstance * visitingHero;
|
||||
ObjectInstanceID visitedObject;
|
||||
ObjectInstanceID visitingHero;
|
||||
|
||||
bool blocksPack(const CPackForServer * pack) const final;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user