Removed useless code setting gameobject flag locked with each use of gameobject type 22

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-08-03 17:00:02 +02:00
parent 049865129a
commit 682ebafdc0

View File

@@ -1328,8 +1328,6 @@ void GameObject::Use(Unit* user)
}
case GAMEOBJECT_TYPE_SPELLCASTER: //22
{
SetUInt32Value(GAMEOBJECT_FLAGS,2);
GameObjectInfo const* info = GetGOInfo();
if (!info)
return;