diff options
author | krzys-h <krzys_h@interia.pl> | 2013-12-29 12:08:59 +0100 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-12-29 12:08:59 +0100 |
commit | dc81cda4b1f27af6fe8abcd566ffac03255f2642 (patch) | |
tree | f55abd342b48f6c7868c16469df20a6b96a3c639 /src/object/objman.cpp | |
parent | 213de95448df51c6062380afc645754d46f3e1bd (diff) | |
download | colobot-dc81cda4b1f27af6fe8abcd566ffac03255f2642.tar.gz colobot-dc81cda4b1f27af6fe8abcd566ffac03255f2642.tar.bz2 colobot-dc81cda4b1f27af6fe8abcd566ffac03255f2642.zip |
Cleaned up creating objects
Diffstat (limited to 'src/object/objman.cpp')
-rw-r--r-- | src/object/objman.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/object/objman.cpp b/src/object/objman.cpp index e4102b8..0471ebf 100644 --- a/src/object/objman.cpp +++ b/src/object/objman.cpp @@ -63,10 +63,9 @@ CObject* CObjectManager::SearchInstance(int id) return m_table[id]; } -CObject* CObjectManager::CreateObject(Math::Vector pos, float angle, float zoom, float height, - ObjectType type, float power, - bool trainer, bool toy, - int option) +CObject* CObjectManager::CreateObject(Math::Vector pos, float angle, ObjectType type, + float power, float zoom, float height, + bool trainer, bool toy, int option) { CObject* object = nullptr; |