Small fix

dev-ui
krzys-h 2013-02-14 17:23:26 +01:00
parent e2d0f44961
commit 945299ae5d
1 changed files with 1 additions and 1 deletions
src/script

View File

@ -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;