Truncate UnitTypeId to fit array?

Status
Not open for further replies.
I don't know exact numbers, but their range is much too large for that you could just substract a number. Human units for example start with 'h' + 'xxx', while undead units start with 'u' + 'xxx'. The difference between 'h000' and 'u000' easily ecxeeds the array limit for sure.

Why no hashtable?

I'll use hashtables, i just wanted to write something that didnt use Table without having to use static if to not alterate between hashtable and table... and keep everyone happy... It was a dream! ^^
 
Status
Not open for further replies.
Back
Top