mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03:00
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 );
|
case DLLFunc_ParmsNewLevel: // void ) ( void );
|
||||||
gpGamedllFuncs->dllapi_table->pfnParmsNewLevel();
|
gpGamedllFuncs->dllapi_table->pfnParmsNewLevel();
|
||||||
|
return 1;
|
||||||
|
|
||||||
case DLLFunc_ParmsChangeLevel: // void ) ( void );
|
case DLLFunc_ParmsChangeLevel: // void ) ( void );
|
||||||
gpGamedllFuncs->dllapi_table->pfnParmsChangeLevel();
|
gpGamedllFuncs->dllapi_table->pfnParmsChangeLevel();
|
||||||
|
return 1;
|
||||||
|
|
||||||
// Returns string describing current .dll. E.g., TeamFotrress 2, Half-Life
|
// Returns string describing current .dll. E.g., TeamFotrress 2, Half-Life
|
||||||
case DLLFunc_GetGameDescription: // const char * )( void );
|
case DLLFunc_GetGameDescription: // const char * )( void );
|
||||||
|
@ -556,6 +556,7 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params)
|
|||||||
index = cRet[0];
|
index = cRet[0];
|
||||||
CHECK_ENTITY(index);
|
CHECK_ENTITY(index);
|
||||||
(*g_engfuncs.pfnFreeEntPrivateData)(INDEXENT2(index));
|
(*g_engfuncs.pfnFreeEntPrivateData)(INDEXENT2(index));
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
|
||||||
// pfnSzFromIndex
|
// pfnSzFromIndex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user