diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-08-23 13:07:13 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-08-23 13:07:13 +0000 |
commit | 635b90d78f91f500e105b6280de24740edc5634e (patch) | |
tree | 08ffbe653ef45d009a6ef8aaa2705b7a71c68653 /source/cmodel.c | |
parent | 4312c28e10db1a52b875133697b72a860d85f210 (diff) |
Changes to `net_ip', `net_port' and `net_clientport' cvars now take
effect immediately (`net_restart' is no longer required).
Console title now properly updates on server port change.
Added ability to display ban reason to clients, which should be
specified as `comment' argument to `addban' command.
Diffstat (limited to 'source/cmodel.c')
-rw-r--r-- | source/cmodel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/cmodel.c b/source/cmodel.c index dc63861..c2e8872 100644 --- a/source/cmodel.c +++ b/source/cmodel.c @@ -846,8 +846,7 @@ void CM_TransformedBoxTrace ( trace_t *trace, vec3_t start, vec3_t end, trace->endpos[2] = start[2] + trace->fraction * (end[2] - start[2]); } - -void CM_ClipEntity( trace_t *dst, trace_t *src, struct edict_s *ent ) { +void CM_ClipEntity( trace_t *dst, const trace_t *src, struct edict_s *ent ) { dst->allsolid |= src->allsolid; dst->startsolid |= src->startsolid; if( src->fraction < dst->fraction ) { |