• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

double free of location?

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
Errr.. my we says weird things. If i trigger
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • 'IF'-Conditions
      • (Player 1 (Red) slot status) Equal to Plays
    • 'THEN'-Actions
      • Set temppoint01[0] = (Center of Red spawn <gen>)
      • Unit - Create 1 Creep for Player 5 (Yellow) at temppunkt01[0] facing Default building degrees degrees
      • Custom script: call RemoveLocation(udg_temppunkt01[0])
    • 'ELSE'-Actions
, my we (or jngp or whatever) tells me double free of location
What the heck is this?
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
actually yes, but the trigger-cut i posted it wrapped in a integerloop which runs 30 times - but i thought if i destroy a loc inside a loop it doesn't leak neither is double destroyed
-------
ps: temppoint01[] is the same as temppunkt01[]
-------
i think i just ignore it..
 
Last edited:
Status
Not open for further replies.
Top