Skip to content

Commit

Permalink
Removed unnecessary variable redeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Epp-code committed Nov 21, 2024
1 parent 190a9a3 commit c0631d4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ void UBlueprintHookManager::HookBlueprintFunction(UFunction* Function, const TFu
//For now Kismet Compiler will always generate only one Return node, so all
//execution paths will end up either with executing it directly or jumping to it
//So we need to hook only in one place to handle all possible execution paths
FSMLKismetBytecodeDisassembler Disassembler;
ResolvedHookOffset = Disassembler.GetReturnStatementOffset(Function);
} else {
//Each new offset moves the subsequent code by UBlueprintHookManager::JumpBytesRequired to make room for the hook jump.
Expand Down

0 comments on commit c0631d4

Please sign in to comment.