mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-28 23:02:07 +00:00
Add missing loop
This commit is contained in:
parent
747e55ce60
commit
3056786f38
1 changed files with 19 additions and 16 deletions
|
@ -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()))
|
||||
|
|
Loading…
Reference in a new issue