summaryrefslogtreecommitdiffstats
path: root/src/object/task/tasksearch.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-05-26 17:47:54 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-05-27 10:19:16 +0200
commit8765d58b02c9afd00186bae4a0045dff32f7d102 (patch)
tree884cd72d4b8b2fabbd109001412e315aa908b0e8 /src/object/task/tasksearch.cpp
parent538745a731d07facd7a1574c04a5d34d23ce3bfa (diff)
downloadcolobot-8765d58b02c9afd00186bae4a0045dff32f7d102.tar.gz
colobot-8765d58b02c9afd00186bae4a0045dff32f7d102.tar.bz2
colobot-8765d58b02c9afd00186bae4a0045dff32f7d102.zip
Fixed code formatting
* moved braces to new lines * fixed some function/variable names * fixed whitespace issues
Diffstat (limited to 'src/object/task/tasksearch.cpp')
-rw-r--r--src/object/task/tasksearch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/task/tasksearch.cpp b/src/object/task/tasksearch.cpp
index e2c2524..974a53d 100644
--- a/src/object/task/tasksearch.cpp
+++ b/src/object/task/tasksearch.cpp
@@ -220,10 +220,11 @@ bool CTaskSearch::Abort()
{
m_hand = TSH_UP;
InitAngle();
- for (int i = 0; i < 3; i++) {
+ for (int i = 0; i < 3; i++)
+ {
m_object->SetAngleZ(i+1, m_finalAngle[i]);
}
-
+
m_camera->StopCentering(m_object, 2.0f);
m_physics->SetFreeze(false); // is moving again
return true;
@@ -325,4 +326,3 @@ void CTaskSearch::DeleteMark(ObjectType type)
}
}
-