(SOLVED) gameobject_template type 11 patch 7.1.0

I tried to change the type of legion command center in gameobject_template to type 11 to make it visible from long distance

but when I spawn it it crash the game.

this never had happned in 335 or wod only in legion

I’m using 7.1.0 legion

Legion client has a different way of handling gameobject models, only .wmo models can be transports

but the the object that I changed it type to 11 is an wmo


and still it crashes the game

You need to add this GO flag GO_FLAG_MAP_OBJECT

it worked thanks