Skip to content

Commit 7d46fc2

Browse files
committed
Add "#undef map_locations" to fix GCC warnings
1 parent 3d1e0d8 commit 7d46fc2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/xrGame/alife_registry_container_composition.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,14 @@ add_to_registry_type_list(CSpecificCharacterRegistry)
7575

7676
// game tasks for actor
7777
add_to_registry_type_list(CGameTaskRegistry)
78+
#undef map_locations
7879
#define map_locations define_constant(CGameTaskRegistry)
7980
#undef registry_type_list
8081
#define registry_type_list save_registry_type_list(CGameTaskRegistry)
8182

8283
// ActorStatistics
8384
add_to_registry_type_list(CActorStatisticRegistry)
85+
#undef map_locations
8486
#define map_locations define_constant(CActorStatisticRegistry)
8587
#undef registry_type_list
8688
#define registry_type_list save_registry_type_list(CActorStatisticRegistry)

0 commit comments

Comments
 (0)