View Single Post
Old 11-18-2011, 11:41 PM   #172
Join Date: Feb 2011
Posts: 7

Magtheridon96 has little to show at this moment (0)


Come to think of it, I may need to store more than one handle so I guess you're right Anitarf.

I still think ReleaseTimer should return the data though.

It won't break backwards compatibility and it could make our lives easier.

Collapse JASS:
local timer t = GetExpiredTimer()
local integer i = GetTimerData(t)

call ReleaseTimer(t)

// bla bla bla

set t = null


local integer i = ReleaseTimer(GetExpiredTimer())
Magtheridon96 is offline   Reply With Quote