From 4536636f13b3eaaa13ce1951d18d379ba8f3171f Mon Sep 17 00:00:00 2001 From: Zero Fanker Date: Sat, 1 Jun 2024 22:21:42 -0400 Subject: [PATCH] chore, removed unnecessary type conversion . --- MissionEditor/FinalSunDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MissionEditor/FinalSunDlg.cpp b/MissionEditor/FinalSunDlg.cpp index 6df8f98..73514c2 100644 --- a/MissionEditor/FinalSunDlg.cpp +++ b/MissionEditor/FinalSunDlg.cpp @@ -1878,7 +1878,7 @@ void CFinalSunDlg::OnFileNew() #endif // is it a player house or a ai house? - if (house != (LPCTSTR)plhouse) { + if (house != plhouse) { ini.SetInteger(house, "IQ", 5); ini.SetBool(house, "PlayerControl", false);