Skip to content

Commit

Permalink
Fix spelling of 'spacecraft' in script render flags map
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtribick committed Oct 5, 2023
1 parent 722865e commit 5f14705
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/celscript/common/scriptmaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ void initRenderFlagMap(FlagMap64 &RenderFlagMap)
RenderFlagMap["minormoons"sv] = Renderer::ShowMinorMoons;
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;
Expand Down

0 comments on commit 5f14705

Please sign in to comment.