From a1e24b33fc0b95384168a559fef424713068da49 Mon Sep 17 00:00:00 2001 From: obligaron Date: Sat, 22 May 2021 13:54:07 +0200 Subject: [PATCH] Default values for PlayerStruct --- Source/player.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/player.h b/Source/player.h index 90661aaf5..3d36761ff 100644 --- a/Source/player.h +++ b/Source/player.h @@ -149,6 +149,7 @@ enum player_weapon_type : uint8_t { }; struct PlayerStruct { + PlayerStruct() = default; PLR_MODE _pmode; int8_t walkpath[MAX_PATH_LENGTH]; bool plractive;