mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
* compilation error fix
This commit is contained in:
@@ -58,6 +58,9 @@ extern TTF_Font * GEOR16;
|
|||||||
extern std::queue<SDL_Event*> events;
|
extern std::queue<SDL_Event*> events;
|
||||||
extern boost::mutex eventsM;
|
extern boost::mutex eventsM;
|
||||||
|
|
||||||
|
#undef min
|
||||||
|
#undef max
|
||||||
|
|
||||||
static StackState* getStackState(const CGObjectInstance *obj, int pos, bool town)
|
static StackState* getStackState(const CGObjectInstance *obj, int pos, bool town)
|
||||||
{
|
{
|
||||||
const CGHeroInstance *h = dynamic_cast<const CGHeroInstance *>(obj);
|
const CGHeroInstance *h = dynamic_cast<const CGHeroInstance *>(obj);
|
||||||
|
Reference in New Issue
Block a user