#44: Fix grabbing objects

C4Object::SetActionByName(const char*,...) didn't forward its parameters
to the SABN doing the real work.
stable-5.2
Nicolas Hake 2009-10-13 23:43:12 +02:00
parent 2e5ffec460
commit a54d5e7488
1 changed files with 1 additions and 1 deletions

View File

@ -3950,7 +3950,7 @@ bool C4Object::SetActionByName(const char * szActName,
{
C4String * ActName = Strings.RegString(szActName);
ActName->IncRef();
bool r = SetActionByName(ActName);
bool r = SetActionByName(ActName, pTarget, pTarget2, iCalls, fForce);
ActName->DecRef();
return r;
}