From aa3f7e1eb13c6da375621b18c0385c6f544fed67 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 28 Dec 2005 23:05:22 +0000 Subject: [PATCH] * Fix to what is apparently a typo in the original Q3 code * If patch stitching breaks in mysterious ways, this change might be why --- 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 b0cbe50d..85909baa 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 );