From 451b648c7fbda818cea4c831066fe821aff51a69 Mon Sep 17 00:00:00 2001 From: Orangutanz Date: Wed, 17 Jan 2007 14:52:09 +0000 Subject: [PATCH] Fixed TR_InOpen missing with *et_tr native (XxAvalanchexX) --- dlls/fakemeta/fm_tr.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dlls/fakemeta/fm_tr.cpp b/dlls/fakemeta/fm_tr.cpp index e7661005..8ac044f5 100755 --- a/dlls/fakemeta/fm_tr.cpp +++ b/dlls/fakemeta/fm_tr.cpp @@ -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;