aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Object.h')
-rw-r--r--src/game/Object.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index b5ac57b06ca..e6731db1712 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -383,7 +383,6 @@ class TRINITY_DLL_SPEC WorldObject : public Object
void Relocate(float x, float y, float z, float orientation)
{
- assert(orientation > -100 && orientation < 100);
m_positionX = x;
m_positionY = y;
m_positionZ = z;
@@ -403,7 +402,7 @@ class TRINITY_DLL_SPEC WorldObject : public Object
Relocate(loc.x, loc.y, loc.z, loc.o);
}
- void SetOrientation(float orientation) { assert(orientation > -100 && orientation < 100); m_orientation = orientation; }
+ void SetOrientation(float orientation) { m_orientation = orientation; }
float GetPositionX( ) const { return m_positionX; }
float GetPositionY( ) const { return m_positionY; }