[Snippet] New Table

Level 37
Joined
Sep 26, 2009
Messages
8,447
@Bribe, could this line in the destroy method
JASS:
call Table(t).remove(this)
supposed to be
JASS:
call Table(t).remove(0)
?

Thanks for that, it was actually supposed to be tracker.remove(this)

I am actually now working on 5.0 and am abandoning my earlier preview idea of 4.2 in favor of a separate HashTableEx struct so that users can have both tracked and non-tracked hashtables in the same map.

BribeFromTheHive/NewTable
 
Top