Fixed TR_InOpen missing with *et_tr native (XxAvalanchexX)
This commit is contained in:
parent
2d1c43c937
commit
451b648c7f
|
@ -30,6 +30,12 @@ static cell AMX_NATIVE_CALL set_tr(AMX *amx, cell *params)
|
|||
return 1;
|
||||
break;
|
||||
}
|
||||
case TR_InOpen:
|
||||
{
|
||||
gfm_tr->fInOpen = *ptr;
|
||||
return 1;
|
||||
break;
|
||||
}
|
||||
case TR_InWater:
|
||||
{
|
||||
gfm_tr->fInWater = *ptr;
|
||||
|
@ -104,6 +110,11 @@ static cell AMX_NATIVE_CALL get_tr(AMX *amx, cell *params)
|
|||
return gfm_tr->fStartSolid;
|
||||
break;
|
||||
}
|
||||
case TR_InOpen:
|
||||
{
|
||||
return gfm_tr->fInOpen;
|
||||
break;
|
||||
}
|
||||
case TR_InWater:
|
||||
{
|
||||
return gfm_tr->fInWater;
|
||||
|
|
Loading…
Reference in New Issue
Block a user