1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

* new spell: remove obstacle

* minor changes
This commit is contained in:
mateuszb
2009-08-19 10:59:42 +00:00
parent af1a55e063
commit c4b0bd9d7e
13 changed files with 122 additions and 12 deletions

View File

@@ -96,11 +96,12 @@ public:
struct DLL_EXPORT CObstacleInstance
{
int ID; //ID of obstacle
int uniqueID;
int ID; //ID of obstacle (defines type of it)
int pos; //position on battlefield
template <typename Handler> void serialize(Handler &h, const int version)
{
h & ID & pos;
h & ID & pos & uniqueID;
}
};