(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.

This commit is contained in:
glx
2008-03-27 21:36:16 +00:00
parent 5ddb78af9f
commit bbdb831301
11 changed files with 46 additions and 2 deletions

View File

@@ -256,6 +256,7 @@ static inline const SpriteGroup *ResolveRandom(const SpriteGroup *group, Resolve
byte index;
object->scope = group->g.random.var_scope;
object->count = group->g.random.count;
if (object->trigger != 0) {
/* Handle triggers */