Fixed building with newly updated SDK.
Former-commit-id: bf0455aea7c54493b2b921a2fef52120163e0959
This commit is contained in:
@ -522,7 +522,7 @@ static cell AMX_NATIVE_CALL set_lights(AMX *amx, cell *params) {
|
||||
glinfo.bCheckLights = false;
|
||||
g_pFunctionTable_Post->pfnStartFrame = NULL;
|
||||
memset(glinfo.szLastLights, 0x0, 128);
|
||||
(g_engfuncs.pfnLightStyle)(0, (char *)glinfo.szRealLights);
|
||||
(g_engfuncs.pfnLightStyle)(0, glinfo.szRealLights);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user