Skip to content

Commit 9307acc

Browse files
committed
Release compilation fix
1 parent 6868992 commit 9307acc

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/xrGame/IKLimbsController.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
#endif // DEBUG
1818

1919
CIKLimbsController::CIKLimbsController()
20-
: m_legs_blend(0), m_object(nullptr), anim_name(nullptr), anim_set_name(nullptr) {}
20+
#ifdef DEBUG
21+
: m_legs_blend(nullptr), m_object(nullptr), anim_name(nullptr), anim_set_name(nullptr) {}
22+
#else
23+
: m_legs_blend(nullptr), m_object(nullptr) {}
24+
#endif
2125

2226
void CIKLimbsController::Create(CGameObject* O)
2327
{

src/xrGame/configs_dumper.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313

1414
namespace mp_anticheat
1515
{
16-
configs_dumper::configs_dumper() : m_start_time(0)
16+
configs_dumper::configs_dumper()
17+
#ifdef DEBUG
18+
: m_start_time(0)
19+
#endif
1720
{
1821
m_state = ds_not_active;
1922
m_buffer_for_compress = nullptr;

0 commit comments

Comments
 (0)