|
@@ -193,7 +193,8 @@ bool Bedingung::check( Spiel *zSpiel, Ereignis *zEreignis )
|
|
double wait;
|
|
double wait;
|
|
ProgramCounter c;
|
|
ProgramCounter c;
|
|
LocalMemory m;
|
|
LocalMemory m;
|
|
- while( !expression->runNext( zSpiel, zEreignis, &m, &c, wait ) );
|
|
|
|
|
|
+ while( !expression->runNext( zSpiel, zEreignis, &m, &c, wait ) )
|
|
|
|
+ wait = 0;
|
|
Variable *var = m.zVariable( "__return__" );
|
|
Variable *var = m.zVariable( "__return__" );
|
|
return isTrue( var );
|
|
return isTrue( var );
|
|
}
|
|
}
|