Fix pev_blending not working with set_pev (bug 5758, r=me)

This commit is contained in:
Vincent HERBET 2013-06-16 22:15:19 +02:00
parent 6f39588049
commit 4c3fc7eb97

View File

@ -390,8 +390,8 @@ static cell AMX_NATIVE_CALL amx_set_pev(AMX *amx, cell *params)
pEdict->v.controller[3]=blah[3]; pEdict->v.controller[3]=blah[3];
return 1; return 1;
case blending: case blending:
pEdict->v.controller[0]=blah[0]; pEdict->v.blending[0]=blah[0];
pEdict->v.controller[1]=blah[1]; pEdict->v.blending[1]=blah[1];
return 1; return 1;
} }
} }