mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Fix build
This commit is contained in:
@ -24,8 +24,6 @@
|
||||
#include "../../lib/mapObjects/ObjectTemplate.h"
|
||||
#include "../../lib/mapping/CMap.h"
|
||||
|
||||
std::unique_ptr<CMapHandler> MAPHANDLER = nullptr;
|
||||
|
||||
bool CMapHandler::hasOngoingAnimations()
|
||||
{
|
||||
for(auto * observer : observers)
|
||||
@ -242,6 +240,5 @@ IMapObjectObserver::IMapObjectObserver()
|
||||
|
||||
IMapObjectObserver::~IMapObjectObserver()
|
||||
{
|
||||
if (LIBRARY && MAPHANDLER)
|
||||
GAME->map().removeMapObserver(this);
|
||||
GAME->map().removeMapObserver(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user