Add missing loop

This commit is contained in:
Ricardo Luís Vaz Silva 2023-11-14 16:00:09 -03:00 committed by Christoph Oelckers
parent 747e55ce60
commit 3056786f38

View file

@ -2604,6 +2604,8 @@ static bool PMapValueReader(FSerializer &ar, M *map, const PMap *m)
{
const char * k;
if(m->KeyType == TypeName)
{
while((k = ar.GetKey()))
{
typename M::ValueType * val;
if constexpr(std::is_same_v<typename M::KeyType,uint32_t>)
@ -2624,6 +2626,7 @@ static bool PMapValueReader(FSerializer &ar, M *map, const PMap *m)
return false;
}
}
}
else
{
while((k = ar.GetKey()))