summaryrefslogtreecommitdiffstats
path: root/src/object/task/taskreset.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-10 15:28:12 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-10 15:28:12 +0200
commit697fbdabf10d956e0f13bfbc9414d3db40f0c535 (patch)
treeab80ba3119d07b11da5478009b905edb702c103f /src/object/task/taskreset.h
parent680af178196217bdd255d2bc851f240983144ac1 (diff)
downloadcolobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.gz
colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.bz2
colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.zip
BOOL -> bool; additional fixes in constructors/destructors
Diffstat (limited to 'src/object/task/taskreset.h')
-rw-r--r--src/object/task/taskreset.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/task/taskreset.h b/src/object/task/taskreset.h
index 6665bce..4ebc032 100644
--- a/src/object/task/taskreset.h
+++ b/src/object/task/taskreset.h
@@ -46,13 +46,13 @@ public:
CTaskReset(CInstanceManager* iMan, CObject* object);
~CTaskReset();
- BOOL EventProcess(const Event &event);
+ bool EventProcess(const Event &event);
Error Start(D3DVECTOR goal, D3DVECTOR angle);
Error IsEnded();
protected:
- BOOL SearchVehicle();
+ bool SearchVehicle();
protected:
D3DVECTOR m_begin;
@@ -60,7 +60,7 @@ protected:
D3DVECTOR m_angle;
TaskResetPhase m_phase;
- BOOL m_bError;
+ bool m_bError;
float m_time;
float m_speed;
float m_progress;