Made several classes trivially copyable,
Many had leftover non-default constructors/ assignment operators, and some were initialized, even though the initialized data was never used. In case of FCycler this even caused a default setting to be overwritten when used inside FDynamicLight.
This commit is contained in:
parent
31ebeaf833
commit
76ee658be4
16 changed files with 21 additions and 53 deletions
|
|
@ -2994,7 +2994,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_Pain)
|
|||
if (self->player && self->player->morphTics == 0)
|
||||
{
|
||||
const char *pain_amount;
|
||||
FSoundID sfx_id;
|
||||
FSoundID sfx_id = 0;
|
||||
|
||||
if (self->health < 25)
|
||||
pain_amount = "*pain25";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue