Fixed TR_InOpen missing with *et_tr native (XxAvalanchexX)

This commit is contained in:
Orangutanz 2007-01-17 14:52:09 +00:00
parent 2d1c43c937
commit 451b648c7f

View File

@ -30,6 +30,12 @@ static cell AMX_NATIVE_CALL set_tr(AMX *amx, cell *params)
return 1; return 1;
break; break;
} }
case TR_InOpen:
{
gfm_tr->fInOpen = *ptr;
return 1;
break;
}
case TR_InWater: case TR_InWater:
{ {
gfm_tr->fInWater = *ptr; gfm_tr->fInWater = *ptr;
@ -104,6 +110,11 @@ static cell AMX_NATIVE_CALL get_tr(AMX *amx, cell *params)
return gfm_tr->fStartSolid; return gfm_tr->fStartSolid;
break; break;
} }
case TR_InOpen:
{
return gfm_tr->fInOpen;
break;
}
case TR_InWater: case TR_InWater:
{ {
return gfm_tr->fInWater; return gfm_tr->fInWater;