From 945299ae5dfe465b1a407ed56a3e45d373e8106e Mon Sep 17 00:00:00 2001 From: krzys-h Date: Thu, 14 Feb 2013 17:23:26 +0100 Subject: Small fix --- src/script/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/script.cpp b/src/script/script.cpp index 7a80266..f80e943 100644 --- a/src/script/script.cpp +++ b/src/script/script.cpp @@ -1140,7 +1140,7 @@ bool CScript::rProduce(CBotVar* var, CBotVar* result, int& exception, void* user type == OBJECT_FLAGy || type == OBJECT_FLAGv ) { - object = new CObject(m_iMan); + object = new CObject(script->m_iMan); if ( !object->CreateFlag(pos, angle, type); ) { delete object; -- cgit v1.2.3-1-g7c22