… | … | ||
---|---|---|---|
183 | { | 183 | { |
184 | send_face (ob->face, 10); | 184 | send_face (ob->face, 10); |
185 | 185 | ||
186 | if (ob->animation_id) | 186 | if (ob->animation_id) |
187 | { | 187 | { |
188 | animation &anim = animations [ob->animation_id]; | 188 | const animation &anim = ob->anim (); |
189 | 189 | ||
190 | for (int i = 0; i < anim.num_animations; i++) | 190 | for (int i = 0; i < anim.num_animations; i++) |
191 | send_face (anim.faces [i], -10); | 191 | send_face (anim.faces [i], -10); |
192 | } | 192 | } |
193 | } | 193 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |