diff options
Diffstat (limited to '')
| -rw-r--r-- | src/hl2h.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hl2h.cpp b/src/hl2h.cpp index 85012a0..7a7d32e 100644 --- a/src/hl2h.cpp +++ b/src/hl2h.cpp | |||
| @@ -255,6 +255,13 @@ static void do_move(int seq) { | |||
| 255 | note_modified(cmd, flags, vel); | 255 | note_modified(cmd, flags, vel); |
| 256 | } | 256 | } |
| 257 | } | 257 | } |
| 258 | |||
| 259 | if (feature_active(FEAT_TRIGGERBOT)) { | ||
| 260 | if (triggerbot_apply(cmd)) { | ||
| 261 | const float *vel = (const float *)(e + g_net.velocity); | ||
| 262 | note_modified(cmd, flags, vel); | ||
| 263 | } | ||
| 264 | } | ||
| 258 | } | 265 | } |
| 259 | 266 | ||
| 260 | // --------------------------------------------------------------------------- | 267 | // --------------------------------------------------------------------------- |
