diff --git a/dlls/fakemeta/dllfunc.cpp b/dlls/fakemeta/dllfunc.cpp index 4788afae..47c1274e 100755 --- a/dlls/fakemeta/dllfunc.cpp +++ b/dlls/fakemeta/dllfunc.cpp @@ -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 ); diff --git a/dlls/fakemeta/engfunc.cpp b/dlls/fakemeta/engfunc.cpp index 5f11f203..6ef9abe5 100755 --- a/dlls/fakemeta/engfunc.cpp +++ b/dlls/fakemeta/engfunc.cpp @@ -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