Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7300 in orxonox.OLD for trunk/src/lib/util/executor/executor.cc


Ignore:
Timestamp:
Apr 16, 2006, 7:30:56 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: the most evil for (int i=0; i <'=' …) bug ever…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/executor/executor.cc

    r7221 r7300  
    5353
    5454  this->paramCount = 0;
    55   for (unsigned int i = 0; i < FUNCTOR_MAX_ARGUMENTS; i++)
     55  for (unsigned int i = 0; i <= FUNCTOR_MAX_ARGUMENTS; i++)
    5656  {
    57     if (this->defaultValue[i] == MT_NULL)
     57    if (this->defaultValue[i] == MT_NULL || i == FUNCTOR_MAX_ARGUMENTS)
    5858    {
    5959      this->paramCount = i;
Note: See TracChangeset for help on using the changeset viewer.