Skip to content

Commit

Permalink
To avoid game crash after inspection of the helicopter Scat-5. And ma…
Browse files Browse the repository at this point in the history
…y be some more scenes?
  • Loading branch information
intorr committed Dec 10, 2017
1 parent 27cc76e commit e604c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xrGame/ActorEffector_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ BOOL CAnimatorCamEffectorScriptCB::Valid()
BOOL res = inherited::Valid();
if (!res && cb_name.size())
{
luabind::functor<LPCSTR> fl;
R_ASSERT(ai().script_engine().functor<LPCSTR>(*cb_name, fl));
luabind::functor<void> fl;
R_ASSERT(ai().script_engine().functor<void>(*cb_name, fl));
fl();
cb_name = "";
}
Expand Down

0 comments on commit e604c3a

Please sign in to comment.