mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
InvokeAction: take const atom (#837)
This commit is contained in:

committed by
GitHub

parent
f1688be263
commit
b4f29ea6b0
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user