Skip to content

Commit

Permalink
Remove incorrect spelling of 'spacecraft' from render flag map
Browse files Browse the repository at this point in the history
Prevents both spellings being returned when getting render flags.
  • Loading branch information
ajtribick committed Oct 5, 2023
1 parent 5f14705 commit 190c2f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/celscript/common/scriptmaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ void initRenderFlagMap(FlagMap64 &RenderFlagMap)
RenderFlagMap["asteroids"sv] = Renderer::ShowAsteroids;
RenderFlagMap["comets"sv] = Renderer::ShowComets;
RenderFlagMap["spacecraft"sv] = Renderer::ShowSpacecrafts;
// incorrect spelling retained for compatibility
RenderFlagMap["spasecrafts"sv] = Renderer::ShowSpacecrafts;
RenderFlagMap["stars"sv] = Renderer::ShowStars;
RenderFlagMap["nightmaps"sv] = Renderer::ShowNightMaps;
RenderFlagMap["eclipseshadows"sv] = Renderer::ShowEclipseShadows;
Expand Down

0 comments on commit 190c2f8

Please sign in to comment.