weird
This commit is contained in:
@@ -242,16 +242,16 @@ static inline s32 map_next_id_get(const std::map<s32, T>& map)
|
||||
{
|
||||
s32 id = 0;
|
||||
|
||||
for (const auto& [key, _] : map)
|
||||
for (const auto& [key, value] : map)
|
||||
{
|
||||
if (key != id)
|
||||
break;
|
||||
else
|
||||
++id;
|
||||
++id;
|
||||
}
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
template <typename Map>
|
||||
static inline auto map_find(Map& map, typename Map::key_type id)
|
||||
-> typename Map::mapped_type*
|
||||
|
||||
@@ -290,7 +290,6 @@ void anm2_animation_null_animation_add(Anm2Animation* animation, s32 id);
|
||||
void anm2_animation_null_animation_remove(Anm2Animation* animation, s32 id);
|
||||
void anm2_animation_remove(Anm2* self, s32 id);
|
||||
void anm2_animation_serialize_to_string(Anm2Animation* animation, std::string* string);
|
||||
void anm2_created_on_set(Anm2* self);
|
||||
void anm2_frame_bake(Anm2* self, Anm2Reference* reference, s32 interval, bool isRoundScale, bool isRoundRotation);
|
||||
void anm2_frame_from_time(Anm2* self, Anm2Frame* frame, Anm2Reference reference, f32 time);
|
||||
void anm2_frame_remove(Anm2* self, Anm2Reference* reference);
|
||||
|
||||
Reference in New Issue
Block a user