mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Added InjectAllGameHooks to [Debugging] section in ddraw.ini.
This commit is contained in:
@@ -622,6 +622,9 @@ DontDeleteProtos=0
|
||||
;Set to 1 to give scripts direct access to Fallout's address space, and to make arbitrary calls into Fallout's code
|
||||
AllowUnsafeScripting=0
|
||||
|
||||
;Set to 1 to force sfall to inject all hooks code into the game, even if corresponding hook scripts don't exist
|
||||
InjectAllGameHooks=0
|
||||
|
||||
;These options control what output is saved in the debug log (sfall-log.txt)
|
||||
|
||||
;Prints messages duing sfall initialization
|
||||
|
||||
@@ -222,7 +222,7 @@ void HookScripts::init() {
|
||||
OnMouseClick() += MouseClickHook;
|
||||
LoadGameHook::OnGameModeChange() += GameModeChangeHook;
|
||||
|
||||
HookScripts::injectAllHooks = (isDebug && (GetConfigInt("Debugging", "InjectingAllGameHooks", 0) != 0));
|
||||
HookScripts::injectAllHooks = (isDebug && (GetConfigInt("Debugging", "InjectAllGameHooks", 0) != 0));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user