1
0
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:
mateuszb
2009-06-24 12:14:48 +00:00
parent f0dea8d708
commit 20676e8f95
3 changed files with 203 additions and 200 deletions

View File

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