diff options
author | krzys-h <krzys_h@interia.pl> | 2013-02-14 17:23:26 +0100 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-02-14 17:23:26 +0100 |
commit | 945299ae5dfe465b1a407ed56a3e45d373e8106e (patch) | |
tree | 6da093380f3149b2ed37f4b6557711b7475ea5a0 /src/script/script.cpp | |
parent | e2d0f449617b6344a18b909bf8c81451290b42af (diff) | |
download | colobot-945299ae5dfe465b1a407ed56a3e45d373e8106e.tar.gz colobot-945299ae5dfe465b1a407ed56a3e45d373e8106e.tar.bz2 colobot-945299ae5dfe465b1a407ed56a3e45d373e8106e.zip |
Small fix
Diffstat (limited to 'src/script/script.cpp')
-rw-r--r-- | src/script/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |