Skip to content

Commit

Permalink
Fix allowed duplicate already duplicated structs
Browse files Browse the repository at this point in the history
  • Loading branch information
UnrealKaraulov committed Dec 18, 2023
1 parent 2b0ec83 commit 3ebcee0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cfg/language_ru.ini
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ LANG_0778 = Дальность
LANG_0779 = Опции отрисовки:
LANG_0780 = Текстуры
LANG_0781 = Лайтмапы
LANG_0782 = Пунктирные границы
LANG_0782 = 3D Каркас
LANG_0783 = Связи сущностей
LANG_0784 = Точечные сущности
LANG_0785 = Обычные солиды
Expand Down
4 changes: 2 additions & 2 deletions src/editor/Gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ void Gui::drawBspContexMenu()
ImGui::EndTooltip();
}

bool disableBspDupStruct = !app->isTransformableSolid;
bool disableBspDupStruct = !app->modelUsesSharedStructures;
if (disableBspDupStruct)
{
ImGui::BeginDisabled();
Expand Down Expand Up @@ -2551,7 +2551,7 @@ void Gui::drawMenuBar()
ImGui::TextUnformatted(get_localized_string("LANG_CREATE_DUPLICATE_BSP").c_str());
ImGui::EndTooltip();
}
bool disableBspDupStruct = !app->isTransformableSolid;
bool disableBspDupStruct = !app->modelUsesSharedStructures;
if (disableBspDupStruct)
{
ImGui::BeginDisabled();
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
// Removing HULL 0 from solid model crashes game when standing on it


std::string g_version_string = "newbspguy v4.10";
std::string g_version_string = "NewBSPGuy v4.10";

bool g_verbose = false;

Expand Down

0 comments on commit 3ebcee0

Please sign in to comment.