mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-28 22:15:49 -04:00
another one
This commit is contained in:
@@ -11892,7 +11892,7 @@ void CreatureObject::setNumberOfMissionsWantedInMissionBag(int n)
|
||||
{
|
||||
// remove mission objects from the bag
|
||||
int j = 0;
|
||||
for (iter = container->begin(), j = 0; iter != container->end(), j < i - n; ++iter, ++j)
|
||||
for (iter = container->begin(), j = 0; (iter != container->end() && j < i - n); ++iter, ++j)
|
||||
{
|
||||
Object * const o = (*iter).getObject();
|
||||
if (o)
|
||||
|
||||
Reference in New Issue
Block a user