Add missing breaks.
This commit is contained in:
parent
6a47b6f1ef
commit
cf6d35365e
@ -134,6 +134,7 @@ HookReturnStruct *GetReturnStruct(DHooksCallback *dg, const void *result)
|
||||
//ReturnType_Vector,
|
||||
case ReturnType_Int:
|
||||
*(int *)res->orgResult = *(int *)result;
|
||||
break;
|
||||
case ReturnType_Bool:
|
||||
*(bool *)res->orgResult = *(bool *)result;
|
||||
break;
|
||||
@ -153,6 +154,7 @@ HookReturnStruct *GetReturnStruct(DHooksCallback *dg, const void *result)
|
||||
//ReturnType_Vector,
|
||||
case ReturnType_Int:
|
||||
*(int *)res->orgResult = 0;
|
||||
break;
|
||||
case ReturnType_Bool:
|
||||
*(bool *)res->orgResult = false;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user