Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2008, 10:51:07 AM (16 years ago)
Author:
rgrieder
Message:

Updated msvc files.
Maybe fixed a bug in:
if (condition); Note the semicolon
{

dosomething();

}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/pickup/PickupSpawner.cc

    r2500 r2503  
     1#include "OrxonoxStableHeaders.h"
    12#include "PickupSpawner.h"
    23#include "BaseItem.h"
     
    110111        SUPER(PickupSpawner, changedActivity);
    111112
    112         for (std::set<WorldEntity*>::iterator it = this->getAttachedObjects().begin(); it != this->getAttachedObjects().end(); ++it)
     113        for (std::set<WorldEntity*>::const_iterator it = this->getAttachedObjects().begin(); it != this->getAttachedObjects().end(); ++it)
    113114                (*it)->setVisible(this->isActive());
    114115}
Note: See TracChangeset for help on using the changeset viewer.