Commit 48cbfe3
committed
Restore trace_flags value inside Fun's TraceLine hookThe engine resets the trace_flags value at the end of PF_traceline_DLL. This causes any assigned trace_flags to be overwritten when an additional TraceLine call is made inside the pfnTraceLine hook. If the Fun module is loaded before Fakemeta, plugins cannot catch the gpGlobals->trace_flags value, which now has an important use with ReGameDLL_CS. This behavior directly exposes an old, previously undiscovered bug. Applied from upstream repo: alliedmodders@735928e
1 parent 101c346 commit 48cbfe3
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| 487 | + | |
487 | 488 | | |
| 489 | + | |
488 | 490 | | |
489 | 491 | | |
490 | 492 | | |
| |||
0 commit comments