Mass return bug - help to fix

Status
Not open for further replies.
Level 9
Joined
Jul 4, 2007
Messages
130
here is the code:

JASS:
function H2I takes handle h returns integer
return GetHandleId(h)  //<= I just know how to fix this one >.>
endfunction
function I2F takes integer i returns fogmodifier
return i
return null
endfunction
function I2G takes integer i returns group
return i
return null
endfunction
function I2T takes integer i returns texttag
return i
return null
endfunction
function I2U takes integer i returns unit
return i
return null
endfunction
function I2E takes integer i returns effect
return i
return null
endfunction
function I2L takes integer i returns location
return i
return null
endfunction
function I2It takes integer i returns item
return i
return null
endfunction
function I2Li takes integer i returns lightning
return i
return null
endfunction
function I2B takes integer i returns button
return i
return null
endfunction

anyone know how to fix them all?

(btw aren't they all useless exepted handleid since they are handles rite? o_O)
 
Status
Not open for further replies.
Top