mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fixed entity_set_byte
This commit is contained in:
parent
75396c753c
commit
66386cca59
@ -1206,22 +1206,22 @@ static cell AMX_NATIVE_CALL entity_set_byte(AMX *amx, cell *params)
|
|||||||
switch (idx)
|
switch (idx)
|
||||||
{
|
{
|
||||||
case controller1:
|
case controller1:
|
||||||
pEnt->v.controller[1] = iNewValue;
|
pEnt->v.controller[0] = iNewValue;
|
||||||
break;
|
break;
|
||||||
case controller2:
|
case controller2:
|
||||||
pEnt->v.controller[2] = iNewValue;
|
pEnt->v.controller[1] = iNewValue;
|
||||||
break;
|
break;
|
||||||
case controller3:
|
case controller3:
|
||||||
pEnt->v.controller[3] = iNewValue;
|
pEnt->v.controller[2] = iNewValue;
|
||||||
break;
|
break;
|
||||||
case controller4:
|
case controller4:
|
||||||
pEnt->v.controller[4] = iNewValue;
|
pEnt->v.controller[3] = iNewValue;
|
||||||
break;
|
break;
|
||||||
case blending1:
|
case blending1:
|
||||||
pEnt->v.blending[1] = iNewValue;
|
pEnt->v.blending[0] = iNewValue;
|
||||||
break;
|
break;
|
||||||
case blending2:
|
case blending2:
|
||||||
pEnt->v.blending[2] = iNewValue;
|
pEnt->v.blending[1] = iNewValue;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user