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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user