mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Some changes to compile again with gcc
This commit is contained in:
@@ -879,7 +879,8 @@ void CBattleInterface::battleFinished(const BattleResult& br)
|
|||||||
{
|
{
|
||||||
deactivate();
|
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();
|
resWindow->activate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -32,7 +32,6 @@ vcmiclient_SOURCES = \
|
|||||||
../CPreGame.cpp \
|
../CPreGame.cpp \
|
||||||
../hch/CPreGameTextHandler.cpp \
|
../hch/CPreGameTextHandler.cpp \
|
||||||
../hch/CSndHandler.cpp \
|
../hch/CSndHandler.cpp \
|
||||||
../hch/CSpellHandler.cpp \
|
|
||||||
../CThreadHelper.cpp \
|
../CThreadHelper.cpp \
|
||||||
./Graphics.cpp \
|
./Graphics.cpp \
|
||||||
../mapHandler.cpp \
|
../mapHandler.cpp \
|
||||||
|
@@ -29,4 +29,5 @@ libvcmi_a_SOURCES = \
|
|||||||
../hch/CTownHandler.h \
|
../hch/CTownHandler.h \
|
||||||
../map.h \
|
../map.h \
|
||||||
./NetPacks.h \
|
./NetPacks.h \
|
||||||
./VCMI_Lib.h
|
./VCMI_Lib.h \
|
||||||
|
../hch/CSpellHandler.cpp
|
||||||
|
Reference in New Issue
Block a user