• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Is there a Possible way to Remove Terrain Defomation Leak?

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
Aside from lacking a destructor, they throw off the return value of GetLocationZ which can cause desyncs
The value is not synchronized anyway. You should never use it for anything that requires synchronous results.

I am not sure but could this possibly act as a hidden destructor?
JASS:
native TerrainDeformStop takes terraindeformation deformation,integer duration returns nothing
I would imagine it freeing resources after the deformation is stopped.
 
Level 12
Joined
May 22, 2015
Messages
1,051
Even with regular spells like warstomp and shockwave, I've seen units that spawn while the crater is down and the ground raise up through them, leaving them partially in the ground. This is for 0 speed units, mind you.

Anyway, I'll probably spend some time to make sure I remove all the terrain deformations in my map lol. They lag, leak, and desync haha. They're atrocious.
 
Status
Not open for further replies.
Top