mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-25 07:12:20 -08:00
do not assume non-empty name map bakes
This commit is contained in:
1 parent
af80e1bfc8
commit
e25c3044b0
1 file changed
+5
-1
@@ -4766,7 +4766,11 @@ p2r_bake(Arena *arena, P2R_Convert2Bake *in)
|
|||||||
{
|
{
|
||||||
for(EachNonZeroEnumVal(RDI_NameMapKind, k))
|
for(EachNonZeroEnumVal(RDI_NameMapKind, k))
|
||||||
{
|
{
|
||||||
name_map_bakes[k] = *ts_join_struct(bake_name_maps_tickets[k], max_U64, RDIM_NameMapBakeResult);
|
RDIM_NameMapBakeResult *bake = ts_join_struct(bake_name_maps_tickets[k], max_U64, RDIM_NameMapBakeResult);
|
||||||
|
if(bake != 0)
|
||||||
|
{
|
||||||
|
name_map_bakes[k] = *bake;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user