From: <ha...@us...> - 2002-08-30 10:48:21
|
Update of /cvsroot/decaldev/source/Decal In directory usw-pr-cvs1:/tmp/cvs-serv14324 Modified Files: ACHooks.cpp Log Message: a "Duh" change.. it's late, sue me Index: ACHooks.cpp =================================================================== RCS file: /cvsroot/decaldev/source/Decal/ACHooks.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ACHooks.cpp 30 Aug 2002 10:46:09 -0000 1.16 --- ACHooks.cpp 30 Aug 2002 10:48:17 -0000 1.17 *************** *** 304,308 **** s_pACHooks = NULL; ! long Val, lCall1 = 0, lCall2 = 0, lOBCall = 0; if( QueryMemLoc( _bstr_t( "ObjectDestroyed_Call1"), &Val ) == S_OK ) { --- 304,308 ---- s_pACHooks = NULL; ! long Val, lCall1 = 0, lCall2 = 0; if( QueryMemLoc( _bstr_t( "ObjectDestroyed_Call1"), &Val ) == S_OK ) { *************** *** 314,324 **** lCall2 = Val; } - if( QueryMemLoc( _bstr_t( "ObjectDestroyed"), &Val ) == S_OK ) - { - lOBCall = Val; - } ! HookCall (lCall1, lOBCall); ! HookCall (lCall2, lOBCall); } --- 314,322 ---- lCall2 = Val; } ! HookCall( lCall1, g_lObjectDestroyedProc ); ! HookCall( lCall2, g_lObjectDestroyedProc ); ! ! g_lObjectDestroyedProc = 0; } |