From 190c2f8867a2a031334613b69f4e09f596a0ef4f Mon Sep 17 00:00:00 2001 From: Andrew Tribick Date: Thu, 5 Oct 2023 19:36:22 +0200 Subject: [PATCH] Remove incorrect spelling of 'spacecraft' from render flag map Prevents both spellings being returned when getting render flags. --- src/celscript/common/scriptmaps.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/celscript/common/scriptmaps.cpp b/src/celscript/common/scriptmaps.cpp index d54e4336e7..8fc6f4e4ef 100644 --- a/src/celscript/common/scriptmaps.cpp +++ b/src/celscript/common/scriptmaps.cpp @@ -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;