InvokeAction: take const atom (#837)

This commit is contained in:
Christian Semmler
2024-04-22 08:24:00 -04:00
committed by GitHub
parent f1688be263
commit b4f29ea6b0
5 changed files with 5 additions and 18 deletions

View File

@@ -336,14 +336,7 @@ MxLong LegoEntity::Notify(MxParam& p_param)
}
if (m_actionType != Extra::e_unknown) {
#ifdef COMPAT_MODE
{
MxAtomId atom(m_filename, e_lowerCase2);
InvokeAction(m_actionType, atom, m_targetEntityId, this);
}
#else
InvokeAction(m_actionType, MxAtomId(m_filename, e_lowerCase2), m_targetEntityId, this);
#endif
}
else {
switch (GameState()->GetActorId()) {