forked from mirrors/0ad
Initialize new variables correctly.
This was SVN commit r17247.
This commit is contained in:
@@ -330,6 +330,9 @@ public:
|
||||
|
||||
m_ExpectedPathTicket = 0;
|
||||
|
||||
m_Tries = 0;
|
||||
m_Planning = SUnitMotionPlanning();
|
||||
|
||||
m_TargetEntity = INVALID_ENTITY;
|
||||
|
||||
m_FinalGoal.type = PathGoal::POINT;
|
||||
|
||||
Reference in New Issue
Block a user