fix for join server with bots crash 2

This commit is contained in:
Duion 2016-12-23 19:01:30 +01:00
parent 1b92c3a1da
commit c44842bf2f

View file

@ -3380,7 +3380,7 @@ void ShapeBase::shakeCamera( U32 imageSlot )
bool applyShake = true;
if (obj && !mIsAiControlled)
if (obj)
{
ShapeBase* cObj = obj;
while ((cObj = cObj->getControlObject()) != 0)