(svn r11412) -Fix (r11403): animation was not turned on properly.

-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
This commit is contained in:
rubidium
2007-11-11 18:22:06 +00:00
parent dcbd2fdfc7
commit 02a6debc11
3 changed files with 7 additions and 4 deletions

View File

@@ -252,7 +252,7 @@ static inline const SpriteGroup *ResolveRandom(const SpriteGroup *group, Resolve
/* Handle triggers */
/* Magic code that may or may not do the right things... */
byte waiting_triggers = object->GetTriggers(object);
byte match = group->g.random.triggers & (waiting_triggers | object->trigger) || group->g.random.triggers == 0;
byte match = group->g.random.triggers & (waiting_triggers | object->trigger);
bool res;
res = (group->g.random.cmp_mode == RSG_CMP_ANY) ?