1
0
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:
Vadim Glazunov
2008-09-07 12:13:51 +00:00
parent 3d147a7be8
commit 4edd375ddb
3 changed files with 4 additions and 3 deletions

View File

@@ -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();
} }

View File

@@ -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 \

View File

@@ -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