… | … | ||
---|---|---|---|
30 | std::vector<animation> animations; | 30 | std::vector<animation> animations; |
31 | 31 | ||
32 | void | 32 | void |
33 | animation::resize (int new_size) | 33 | animation::resize (int new_size) |
34 | { | 34 | { |
35 | sfree <faceidx> (faces, num_animations); | 35 | sfree<faceidx> (faces, num_animations); |
36 | num_animations = new_size; | 36 | num_animations = new_size; |
37 | faces = salloc<faceidx> (num_animations); | 37 | faces = salloc<faceidx> (num_animations); |
38 | } | 38 | } |
39 | 39 | ||
40 | animation & | 40 | animation & |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |