Added some returns in engfunc() and in dllfunc()
This commit is contained in:
parent
d1b290c7a4
commit
531cc5f2c1
@ -136,10 +136,11 @@ static cell AMX_NATIVE_CALL dllfunc(AMX *amx,cell *params)
|
||||
|
||||
case DLLFunc_ParmsNewLevel: // void ) ( void );
|
||||
gpGamedllFuncs->dllapi_table->pfnParmsNewLevel();
|
||||
|
||||
return 1;
|
||||
|
||||
case DLLFunc_ParmsChangeLevel: // void ) ( void );
|
||||
gpGamedllFuncs->dllapi_table->pfnParmsChangeLevel();
|
||||
return 1;
|
||||
|
||||
// Returns string describing current .dll. E.g., TeamFotrress 2, Half-Life
|
||||
case DLLFunc_GetGameDescription: // const char * )( void );
|
||||
|
@ -556,6 +556,7 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params)
|
||||
index = cRet[0];
|
||||
CHECK_ENTITY(index);
|
||||
(*g_engfuncs.pfnFreeEntPrivateData)(INDEXENT2(index));
|
||||
return 1;
|
||||
|
||||
|
||||
// pfnSzFromIndex
|
||||
|
Loading…
Reference in New Issue
Block a user