equal
deleted
inserted
replaced
114 if (_animated_tile_list[_animated_tile_count] == 0) break; |
114 if (_animated_tile_list[_animated_tile_count] == 0) break; |
115 } |
115 } |
116 return; |
116 return; |
117 } |
117 } |
118 |
118 |
119 _animated_tile_count = SlGetFieldLength() / sizeof(*_animated_tile_list); |
119 _animated_tile_count = (uint)SlGetFieldLength() / sizeof(*_animated_tile_list); |
120 |
120 |
121 /* Determine a nice rounded size for the amount of allocated tiles */ |
121 /* Determine a nice rounded size for the amount of allocated tiles */ |
122 _animated_tile_allocated = 256; |
122 _animated_tile_allocated = 256; |
123 while (_animated_tile_allocated < _animated_tile_count) _animated_tile_allocated *= 2; |
123 while (_animated_tile_allocated < _animated_tile_count) _animated_tile_allocated *= 2; |
124 |
124 |