summaryrefslogtreecommitdiffstats
path: root/src/object/objman.cpp
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2013-12-29 12:08:59 +0100
committerkrzys-h <krzys_h@interia.pl>2013-12-29 12:08:59 +0100
commitdc81cda4b1f27af6fe8abcd566ffac03255f2642 (patch)
treef55abd342b48f6c7868c16469df20a6b96a3c639 /src/object/objman.cpp
parent213de95448df51c6062380afc645754d46f3e1bd (diff)
downloadcolobot-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.cpp7
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;