Skip to content

Commit e604c3a

Browse files
committed
To avoid game crash after inspection of the helicopter Scat-5. And may be some more scenes?
1 parent 27cc76e commit e604c3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xrGame/ActorEffector_script.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ BOOL CAnimatorCamEffectorScriptCB::Valid()
2222
BOOL res = inherited::Valid();
2323
if (!res && cb_name.size())
2424
{
25-
luabind::functor<LPCSTR> fl;
26-
R_ASSERT(ai().script_engine().functor<LPCSTR>(*cb_name, fl));
25+
luabind::functor<void> fl;
26+
R_ASSERT(ai().script_engine().functor<void>(*cb_name, fl));
2727
fl();
2828
cb_name = "";
2929
}

0 commit comments

Comments
 (0)