Skip to content

Commit

Permalink
Release compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Jun 4, 2018
1 parent 6868992 commit 9307acc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/xrGame/IKLimbsController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
#endif // DEBUG

CIKLimbsController::CIKLimbsController()
: m_legs_blend(0), m_object(nullptr), anim_name(nullptr), anim_set_name(nullptr) {}
#ifdef DEBUG
: m_legs_blend(nullptr), m_object(nullptr), anim_name(nullptr), anim_set_name(nullptr) {}
#else
: m_legs_blend(nullptr), m_object(nullptr) {}
#endif

void CIKLimbsController::Create(CGameObject* O)
{
Expand Down
5 changes: 4 additions & 1 deletion src/xrGame/configs_dumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

namespace mp_anticheat
{
configs_dumper::configs_dumper() : m_start_time(0)
configs_dumper::configs_dumper()
#ifdef DEBUG
: m_start_time(0)
#endif
{
m_state = ds_not_active;
m_buffer_for_compress = nullptr;
Expand Down

0 comments on commit 9307acc

Please sign in to comment.