We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c299169 commit 522bea7Copy full SHA for 522bea7
src/xrGame/PHCommander.cpp
@@ -22,7 +22,7 @@ CPHCall::~CPHCall()
22
bool CPHCall::obsolete() { return m_action->obsolete() || m_condition->obsolete(); }
23
void CPHCall::check()
24
{
25
- if (m_condition->is_true() && m_action)
+ if (m_condition && m_condition->is_true() && m_action)
26
m_action->run();
27
}
28
0 commit comments