summaryrefslogtreecommitdiff
path: root/games/wesnoth/patches/patch-ag
blob: 09e6cec24ef4f2473a660e8c8fed1951c6344304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ag,v 1.8 2011/02/24 13:36:57 adam Exp $

Fix C++ error.

--- src/ai/composite/aspect.hpp.orig	2011-02-24 12:25:20.000000000 +0000
+++ src/ai/composite/aspect.hpp
@@ -282,7 +282,7 @@ public:
 		boost::function2<void, typename aspect_type<T>::typesafe_ptr_vector&, const config&> factory_facets =
                         boost::bind(&ai::composite_aspect<T>::create_facet,*this,_1,_2);
 
-                register_vector_property("facet",facets_, factory_facets);
+                this->register_vector_property("facet",facets_, factory_facets);
 
 	}