From 378cef9bda1c4c7e74ab24680fff19ce6e9326a4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 22:18:18 +0300 Subject: Fix code style. --- src/resources/emotedb.h | 3 ++- src/resources/music.h | 3 ++- src/resources/specialdb.h | 12 +++++++++++- 3 files changed, 15 insertions(+), 3 deletions(-) (limited to 'src/resources') diff --git a/src/resources/emotedb.h b/src/resources/emotedb.h index e2d621a7f..1083980e2 100644 --- a/src/resources/emotedb.h +++ b/src/resources/emotedb.h @@ -33,7 +33,8 @@ class AnimatedSprite; struct EmoteSprite final { - EmoteSprite() + EmoteSprite() : + sprite(nullptr) { } A_DELETE_COPY(EmoteSprite); diff --git a/src/resources/music.h b/src/resources/music.h index 96ad32981..0e459c724 100644 --- a/src/resources/music.h +++ b/src/resources/music.h @@ -35,7 +35,8 @@ class Music final : public Resource { public: - Music() + Music() : + mMusic(nullptr) { } A_DELETE_COPY(Music); diff --git a/src/resources/specialdb.h b/src/resources/specialdb.h index d478f654b..9a01cf7d2 100644 --- a/src/resources/specialdb.h +++ b/src/resources/specialdb.h @@ -25,9 +25,19 @@ #include #include +#include "localconsts.h" + struct SpecialInfo final { - SpecialInfo() + SpecialInfo() : + id(0), + isActive(false), + TargetMode(TARGET_SELF), + hasLevel(false), + level(0), + hasRechargeBar(false), + rechargeNeeded(0), + rechargeCurrent(0) { } A_DELETE_COPY(SpecialInfo); -- cgit v1.2.3-70-g09d2