mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-21 21:17:49 +02:00
CGHeroInstance::Patrol: add initialPos
This commit is contained in:
parent
c45cd1f4c2
commit
5d2e47faba
@ -76,12 +76,13 @@ public:
|
||||
|
||||
struct DLL_LINKAGE Patrol
|
||||
{
|
||||
Patrol(){patrolling=false;patrolRadious=-1;};
|
||||
Patrol(){patrolling=false;initialPos=int3();patrolRadious=-1;};
|
||||
bool patrolling;
|
||||
int3 initialPos;
|
||||
ui32 patrolRadious;
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
{
|
||||
h & patrolling & patrolRadious;
|
||||
h & patrolling & initialPos & patrolRadious;
|
||||
}
|
||||
} patrol;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user