diff options
author | Zaba999 <zaba.marcin@gmail.com> | 2012-09-20 22:58:00 +0200 |
---|---|---|
committer | Zaba999 <zaba.marcin@gmail.com> | 2012-09-20 22:58:00 +0200 |
commit | 191fdc614ed8022c145d3530f9d412e715ae37db (patch) | |
tree | 2813afe018c4e675bf6955e9324cdba297c76a51 /src/object/motion/motionworm.cpp | |
parent | 57d33d79ea570773d84ad81d4a61f50e079979ef (diff) | |
download | colobot-191fdc614ed8022c145d3530f9d412e715ae37db.tar.gz colobot-191fdc614ed8022c145d3530f9d412e715ae37db.tar.bz2 colobot-191fdc614ed8022c145d3530f9d412e715ae37db.zip |
changed paths for models and levels. Now it's possible to load level.
Diffstat (limited to 'src/object/motion/motionworm.cpp')
-rw-r--r-- | src/object/motion/motionworm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object/motion/motionworm.cpp b/src/object/motion/motionworm.cpp index ce9ded2..dc8ecf0 100644 --- a/src/object/motion/motionworm.cpp +++ b/src/object/motion/motionworm.cpp @@ -92,7 +92,7 @@ bool CMotionWorm::Create(Math::Vector pos, float angle, ObjectType type, rank = m_engine->CreateObject(); m_engine->SetObjectType(rank, Gfx::ENG_OBJTYPE_VEHICULE); // this is a moving object m_object->SetObjectRank(0, rank); - pModFile->ReadModel("objects\\worm0.mod"); // there is no purpose! + pModFile->ReadModel("data/models/worm0.mod"); // there is no purpose! pModFile->CreateEngineObject(rank); m_object->SetPosition(0, pos); m_object->SetAngleY(0, angle); @@ -108,7 +108,7 @@ bool CMotionWorm::Create(Math::Vector pos, float angle, ObjectType type, m_engine->SetObjectType(rank, Gfx::ENG_OBJTYPE_DESCENDANT); m_object->SetObjectRank(1, rank); m_object->SetObjectParent(1, 0); - pModFile->ReadModel("objects\\worm1.mod"); + pModFile->ReadModel("data/models/worm1.mod"); pModFile->CreateEngineObject(rank); m_object->SetPosition(1, Math::Vector(px, 0.0f, 0.0f)); px -= 1.0f; @@ -120,7 +120,7 @@ bool CMotionWorm::Create(Math::Vector pos, float angle, ObjectType type, m_engine->SetObjectType(rank, Gfx::ENG_OBJTYPE_DESCENDANT); m_object->SetObjectRank(2+i, rank); m_object->SetObjectParent(2+i, 0); - pModFile->ReadModel("objects\\worm2.mod"); + pModFile->ReadModel("data/models/worm2.mod"); pModFile->CreateEngineObject(rank); m_object->SetPosition(2+i, Math::Vector(px, 0.0f, 0.0f)); px -= 1.0f; @@ -131,7 +131,7 @@ bool CMotionWorm::Create(Math::Vector pos, float angle, ObjectType type, m_engine->SetObjectType(rank, Gfx::ENG_OBJTYPE_DESCENDANT); m_object->SetObjectRank(2+WORM_PART, rank); m_object->SetObjectParent(2+WORM_PART, 0); - pModFile->ReadModel("objects\\worm3.mod"); + pModFile->ReadModel("data/models/worm3.mod"); pModFile->CreateEngineObject(rank); m_object->SetPosition(2+WORM_PART, Math::Vector(px, 0.0f, 0.0f)); |