1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

- compile fix

This commit is contained in:
Ivan Savenko
2013-02-26 15:07:21 +00:00
parent 928d1d2121
commit b78c4c19ea
2 changed files with 2 additions and 2 deletions

View File

@@ -4091,7 +4091,7 @@ void CLoadingScreen::showAll(SDL_Surface *to)
} }
CPrologEpilogVideo::CPrologEpilogVideo( CCampaignScenario::SScenarioPrologEpilog _spe, std::function<void()> callback ) CPrologEpilogVideo::CPrologEpilogVideo( CCampaignScenario::SScenarioPrologEpilog _spe, std::function<void()> callback )
: spe(_spe), exitCb(callback), decrementDelayCounter(0) : spe(_spe), decrementDelayCounter(0), exitCb(callback)
{ {
OBJ_CONSTRUCTION_CAPTURING_ALL; OBJ_CONSTRUCTION_CAPTURING_ALL;
addUsedEvents(LCLICK); addUsedEvents(LCLICK);

View File

@@ -209,7 +209,7 @@ typedef boost::function<bool(const Bonus*)> CSelector;
/// Struct for handling bonuses of several types. Can be transferred to any hero /// Struct for handling bonuses of several types. Can be transferred to any hero
struct DLL_LINKAGE Bonus struct DLL_LINKAGE Bonus
{ {
#define EVERY_TYPE -1; enum { EVERY_TYPE = -1 };
enum BonusType enum BonusType
{ {