@@ -1923,8 +1923,8 @@ static void _declspec(naked) HOOK_CAnimManager__BlendAnimation()
1923
1923
//
1924
1924
// FxSystemBP_c::Load
1925
1925
//
1926
- // Remove every FxEmitter without a main texture ( because of non-standard /models/effects.fxp),
1927
- // because the game logic expects AT LEAST one texture at index 0 ("main texture").
1926
+ // Remove every FxEmitter without a main texture because the game logic expects AT LEAST
1927
+ // one texture at index 0 ("main texture").
1928
1928
//
1929
1929
// ////////////////////////////////////////////////////////////////////////////////////////
1930
1930
// 0x5C0A14 | 5E | pop esi
@@ -1937,21 +1937,6 @@ static void _declspec(naked) HOOK_CAnimManager__BlendAnimation()
1937
1937
#define HOOKPOS_FxSystemBP_c__Load 0x5C0A15
1938
1938
#define HOOKSIZE_FxSystemBP_c__Load 19
1939
1939
1940
- static void LOG_FxSystemBP_c__Load ()
1941
- {
1942
- static bool once = false ;
1943
-
1944
- if (once)
1945
- return ;
1946
-
1947
- once = true ;
1948
- OnCrashAverted (33 );
1949
-
1950
- SString effectsMD5 = CMD5Hasher::CalculateHexString (PathJoin (GetLaunchPath (), " models" , " effects.fxp" ));
1951
- const char * isModified = (effectsMD5 == " 6143A72E8FF2974DB14F65DF65D952B0" ) ? " standard" : " non-standard" ;
1952
- LogEvent (4481 , " Crash averted" , " FxSystemBP_c::Load" , *SString (" effects.fxp (%s, %s)" , isModified, *effectsMD5), 7709 );
1953
- }
1954
-
1955
1940
static void _cdecl POST_PROCESS_FxSystemBP_c__Load (CFxSystemBPSAInterface* blueprint)
1956
1941
{
1957
1942
if (!blueprint->cNumOfPrims )
@@ -1977,7 +1962,7 @@ static void _cdecl POST_PROCESS_FxSystemBP_c__Load(CFxSystemBPSAInterface* bluep
1977
1962
1978
1963
if (blueprint->cNumOfPrims != count)
1979
1964
{
1980
- LOG_FxSystemBP_c__Load ( );
1965
+ OnCrashAverted ( 33 );
1981
1966
blueprint->cNumOfPrims = count;
1982
1967
}
1983
1968
}
@@ -2005,7 +1990,7 @@ static void _declspec(naked) HOOK_FxSystemBP_c__Load()
2005
1990
//
2006
1991
// FxPrim_c::Enable
2007
1992
//
2008
- // Add a null-pointer check for the ecx object . This hook is a side-effect of the hook for
1993
+ // Add a null-pointer check for the ecx pointer . This hook is a side-effect of the hook for
2009
1994
// FxSystemBP_c::Load above.
2010
1995
//
2011
1996
// ////////////////////////////////////////////////////////////////////////////////////////
0 commit comments