summaryrefslogtreecommitdiff
path: root/games/battleball/patches/patch-ah
blob: f09a15023d1a152b2ef15cbefececcd57028e52c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.1 2008/06/21 18:12:42 joerg Exp $

--- lib3d/bsppanel3d.C.orig	2008-06-21 12:05:40.000000000 +0000
+++ lib3d/bsppanel3d.C
@@ -42,7 +42,7 @@ Polygon3f bspPanel3d::asPolygon3f(pt3d p
   }
 
   pt3d2Vec3f(normal,poly.plane_normal);
-  poly.material_index= (int) this;
+  poly.material_index= this;
   return poly;
 }