From f05b398e5c2e04a6e566e942f6bd898cca1ab52f Mon Sep 17 00:00:00 2001 From: DjWarmonger Date: Sat, 15 Dec 2012 09:04:55 +0000 Subject: [PATCH] Compile fixes. --- client/UIFramework/CCursorHandler.cpp | 4 ++-- lib/CHeroHandler.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/UIFramework/CCursorHandler.cpp b/client/UIFramework/CCursorHandler.cpp index 563727557..b785174ba 100644 --- a/client/UIFramework/CCursorHandler.cpp +++ b/client/UIFramework/CCursorHandler.cpp @@ -3,8 +3,8 @@ #include #include "SDL_Extensions.h" -#include "CAnimation.h" -#include "UIFramework/CGuiHandler.h" +#include "../CAnimation.h" +#include "CGuiHandler.h" /* * CCursorHandler.cpp, part of VCMI engine diff --git a/lib/CHeroHandler.cpp b/lib/CHeroHandler.cpp index f466cd9b3..2d5fa57d4 100644 --- a/lib/CHeroHandler.cpp +++ b/lib/CHeroHandler.cpp @@ -129,6 +129,7 @@ void CHeroClassHandler::load(const JsonNode & classes) CHeroClass *CHeroClassHandler::loadClass(const JsonNode & heroClass) { //TODO + return new CHeroClass; } CHeroClassHandler::~CHeroClassHandler() @@ -156,6 +157,7 @@ void CHeroHandler::load(const JsonNode & heroes) CHero * CHeroHandler::loadHero(const JsonNode & hero) { //TODO + return new CHero; } void CHeroHandler::load()