From 36fa51ec1544557d4ce722e1fadf97bbea7b4d5b Mon Sep 17 00:00:00 2001 From: tma Date: Wed, 28 Dec 2005 23:05:22 +0000 Subject: * Fix to what is apparently a typo in the original Q3 code * If patch stitching breaks in mysterious ways, this change might be why git-svn-id: svn://svn.icculus.org/quake3/trunk@450 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/renderer/tr_bsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/renderer/tr_bsp.c b/code/renderer/tr_bsp.c index b0cbe50..85909ba 100644 --- a/code/renderer/tr_bsp.c +++ b/code/renderer/tr_bsp.c @@ -1214,7 +1214,7 @@ void R_MovePatchSurfacesToHunk(void) { Com_Memcpy( hunkgrid->widthLodError, grid->widthLodError, grid->width * 4 ); hunkgrid->heightLodError = ri.Hunk_Alloc( grid->height * 4, h_low ); - Com_Memcpy( grid->heightLodError, grid->heightLodError, grid->height * 4 ); + Com_Memcpy( hunkgrid->heightLodError, grid->heightLodError, grid->height * 4 ); R_FreeSurfaceGridMesh( grid ); -- cgit v1.2.3