fix wrong assert
This commit is contained in:
parent
b154e98a16
commit
4f6095ae0b
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ public:
|
|||
{
|
||||
std::vector<CUnit *>::iterator it = find(units.begin(), units.end(), &unit);
|
||||
|
||||
Assert(it == units.end());
|
||||
Assert(it != units.end());
|
||||
*it = units.back();
|
||||
units.pop_back();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue