Codechange: remove unneeded casts

This commit is contained in:
Rubidium
2025-02-02 19:45:17 +01:00
committed by rubidium42
parent 9bfddcdbbe
commit 6f8b9fc737
7 changed files with 67 additions and 67 deletions
+2 -2
View File
@@ -548,7 +548,7 @@ protected:
break;
case SPET_GOAL:
ShowGoalsList((CompanyID)this->window_number);
ShowGoalsList(this->window_number);
break;
case SPET_BUTTON_PUSH:
@@ -604,7 +604,7 @@ public:
/* story_page_elements will get built by SetSelectedPage */
this->FinishInitNested(window_number);
this->owner = (Owner)this->window_number;
this->owner = this->window_number;
/* Initialize selected vars. */
this->selected_generic_title.clear();