1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Compile and warning fixes.

This commit is contained in:
Frank Zago 2010-02-16 05:01:15 +00:00
parent 169edf94ca
commit a6aa36c5a9
2 changed files with 3 additions and 3 deletions

View File

@ -488,6 +488,8 @@ public:
std::list<CIntObject *> createdObj; //stack of objs being created
};
extern CGuiHandler GH; //global gui handler
SDLKey arrowToNum(SDLKey key); //converts arrow key to according numpad key
SDLKey numToDigit(SDLKey key);//converts numpad digit key to normal digit key
bool isNumKey(SDLKey key, bool number = true); //checks if key is on numpad (numbers - check only for numpad digits)
@ -499,8 +501,6 @@ template <typename T> void pushIntT()
GH.pushInt(new T());
}
extern CGuiHandler GH; //global gui handler
struct ObjectConstruction
{
CIntObject *myObj;

View File

@ -124,4 +124,4 @@ public:
};
#endif __CCAMPAIGNHANDLER_H__
#endif /* __CCAMPAIGNHANDLER_H__ */