Help transfer to >1.24 playable map

Status
Not open for further replies.
Level 6
Joined
Jul 3, 2006
Messages
102
So the 1.24 patch messed up all my maps, that's pretty much why I stopped at the time.
All the systems were using the Handle functions, which I had and have no idea how they work. I do however know how to use structs and the rest.

How can I remake the systems that use the Handle functions with a functioning code?
 
replace

JASS:
function H2I takes handle h returns integer
    return h
    return 0
endfunction

by

JASS:
function H2I takes handle h returns integer
    return GetHandleId(h)
endfunction

or remove all function calls to H2I by GetHandleId.

Most probably your map also uses other functions that take advantage of the return bug. In that case, I suggest you simply use hashtables.
 
Status
Not open for further replies.
Back
Top