Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Ketsji/KX_ClientObjectInfo.h')
-rw-r--r--source/gameengine/Ketsji/KX_ClientObjectInfo.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/gameengine/Ketsji/KX_ClientObjectInfo.h b/source/gameengine/Ketsji/KX_ClientObjectInfo.h
index 81ae5b58009..bcbf06b947c 100644
--- a/source/gameengine/Ketsji/KX_ClientObjectInfo.h
+++ b/source/gameengine/Ketsji/KX_ClientObjectInfo.h
@@ -58,24 +58,24 @@ public:
m_type(type),
m_gameobject(gameobject)
{}
-
+
KX_ClientObjectInfo(const KX_ClientObjectInfo &copy) :
m_type(copy.m_type),
m_gameobject(copy.m_gameobject)
{
}
-
+
virtual ~KX_ClientObjectInfo() {}
-
- virtual bool hasCollisionCallback()
+
+ virtual bool hasCollisionCallback()
{
return m_sensors.size() != 0;
}
-
+
bool isActor() { return m_type <= ACTOR; }
bool isSensor() { return m_type >= SENSOR && m_type <= OBACTORSENSOR; }
-
-
+
+
#ifdef WITH_CXX_GUARDEDALLOC
MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_ClientObjectInfo")
#endif