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:
Christoph Oelckers 2019-09-09 09:52:33 +02:00
commit 76ee658be4
16 changed files with 21 additions and 53 deletions

View file

@ -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";