Add missing breaks.

This commit is contained in:
Dr!fter 2013-08-21 22:37:54 -04:00
parent 6a47b6f1ef
commit cf6d35365e

View File

@ -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;