From fc770832d48ea1d3fa11c0a7cf63ba6c3abd683e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 30 May 2008 21:56:12 +0000 Subject: [PATCH] disabling building-aging for the moment --- src/eressea/lua/building.cpp | 5 ++++- src/res/hse4.xml | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/eressea/lua/building.cpp b/src/eressea/lua/building.cpp index 878469829..534075ad4 100644 --- a/src/eressea/lua/building.cpp +++ b/src/eressea/lua/building.cpp @@ -56,7 +56,10 @@ lc_age(struct attrib * a) if (is_function(L, fname)) { try { if (fparam) { - retval = luabind::call_function(L, fname, *b, fparam); +#ifdef TUNNELS /* TODO: Why does this crash? */ + std::string param(fparam); + retval = luabind::call_function(L, fname, *b, param); +#endif } else { retval = luabind::call_function(L, fname, *b); } diff --git a/src/res/hse4.xml b/src/res/hse4.xml index f43fc081e..597f0c5a8 100644 --- a/src/res/hse4.xml +++ b/src/res/hse4.xml @@ -72,8 +72,7 @@ - - +