diff --git a/CBattleInterface.cpp b/CBattleInterface.cpp index c890eaf39..5a859f179 100644 --- a/CBattleInterface.cpp +++ b/CBattleInterface.cpp @@ -879,7 +879,8 @@ void CBattleInterface::battleFinished(const BattleResult& br) { deactivate(); - resWindow = new CBattleReslutWindow(br, genRect(561, 470, 165, 19), this); + SDL_Rect temp_rect = genRect(561, 470, 165, 19); + resWindow = new CBattleReslutWindow(br, temp_rect, this); resWindow->activate(); } diff --git a/client/Makefile.am b/client/Makefile.am index 3607a6104..1a321341b 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -32,7 +32,6 @@ vcmiclient_SOURCES = \ ../CPreGame.cpp \ ../hch/CPreGameTextHandler.cpp \ ../hch/CSndHandler.cpp \ -../hch/CSpellHandler.cpp \ ../CThreadHelper.cpp \ ./Graphics.cpp \ ../mapHandler.cpp \ diff --git a/lib/Makefile.am b/lib/Makefile.am index f03134e15..8aa59d53b 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -29,4 +29,5 @@ libvcmi_a_SOURCES = \ ../hch/CTownHandler.h \ ../map.h \ ./NetPacks.h \ -./VCMI_Lib.h +./VCMI_Lib.h \ +../hch/CSpellHandler.cpp