mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
- compile fix
This commit is contained in:
@@ -4091,7 +4091,7 @@ void CLoadingScreen::showAll(SDL_Surface *to)
|
||||
}
|
||||
|
||||
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;
|
||||
addUsedEvents(LCLICK);
|
||||
|
@@ -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 DLL_LINKAGE Bonus
|
||||
{
|
||||
#define EVERY_TYPE -1;
|
||||
enum { EVERY_TYPE = -1 };
|
||||
|
||||
enum BonusType
|
||||
{
|
||||
|
Reference in New Issue
Block a user