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

Former-commit-id: 4c3fc7eb970c57814daa6fcc1c26cabc8a02608f
This commit is contained in:
Vincent HERBET 2013-06-16 22:15:19 +02:00
parent f6ff4796b2
commit d5ce84a9f5

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;
} }
} }