aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-28 23:05:22 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-28 23:05:22 +0000
commit36fa51ec1544557d4ce722e1fadf97bbea7b4d5b (patch)
tree8616b00db159fcab1f03ae637ecdffdde247af35 /code/renderer
parent5bb61f6e267c63e8bb07702892640273a8604823 (diff)
downloadioquake3-aero-36fa51ec1544557d4ce722e1fadf97bbea7b4d5b.tar.gz
ioquake3-aero-36fa51ec1544557d4ce722e1fadf97bbea7b4d5b.zip
* 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
Diffstat (limited to 'code/renderer')
-rw-r--r--code/renderer/tr_bsp.c2
1 files changed, 1 insertions, 1 deletions
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 );