diff options
author | enneract <trem.redman@gmail.com> | 2014-04-18 16:07:09 +0200 |
---|---|---|
committer | enneract <trem.redman@gmail.com> | 2014-04-18 16:07:09 +0200 |
commit | e9d34dc0964c518512b71f9f354b7206f6f84109 (patch) | |
tree | 438d52dd1f4dd84b0d9493a90e25e0e4edd6739d | |
parent | d67878e9c598d9cd92156c701e05b51c39f49e93 (diff) |
Fix a potential segfault.
-rw-r--r-- | src/game/g_buildable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 1faca0c..c1e34bb 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -3388,7 +3388,7 @@ static gentity_t *G_Build( gentity_t *builder, buildable_t buildable, if( cuboid ) { BG_CuboidBBox( cuboidSize, built->r.mins, built->r.maxs ); - VectorCopy( cuboidSize, &built->cuboidSize ); + VectorCopy( cuboidSize, built->cuboidSize ); } else BG_BuildableBoundingBox( buildable, built->r.mins, built->r.maxs ); |