From e9d34dc0964c518512b71f9f354b7206f6f84109 Mon Sep 17 00:00:00 2001 From: enneract Date: Fri, 18 Apr 2014 16:07:09 +0200 Subject: Fix a potential segfault. --- src/game/g_buildable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- cgit