Skip to content

Commit

Permalink
Add "#undef map_locations" to fix GCC warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Oct 9, 2018
1 parent 3d1e0d8 commit 7d46fc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrGame/alife_registry_container_composition.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,14 @@ add_to_registry_type_list(CSpecificCharacterRegistry)

// game tasks for actor
add_to_registry_type_list(CGameTaskRegistry)
#undef map_locations
#define map_locations define_constant(CGameTaskRegistry)
#undef registry_type_list
#define registry_type_list save_registry_type_list(CGameTaskRegistry)

// ActorStatistics
add_to_registry_type_list(CActorStatisticRegistry)
#undef map_locations
#define map_locations define_constant(CActorStatisticRegistry)
#undef registry_type_list
#define registry_type_list save_registry_type_list(CActorStatisticRegistry)
Expand Down

0 comments on commit 7d46fc2

Please sign in to comment.