View Single Post
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-26-2020 , 08:28   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #791

Originally Posted by xerox8521 View Post
Would it be possible to add a return type that skips the game function call entirely for void functions ?
Currently it explicity checks when using MRES_Supercede.
That code is just checking for allocating space to store the return value - supercede should work fine for void functions.
asherkin is offline