- Joined
- Jun 13, 2008
- Messages
- 353
Hello,
I have an old spell which doesn't compile with the current version of jasshelper anymore.
it says that there are type mismatches in certain functions' return statements.
How can I fix this problem for my map to finally compile in the latest wc3 (1.32) ?
edit:fixed.
I have an old spell which doesn't compile with the current version of jasshelper anymore.
it says that there are type mismatches in certain functions' return statements.
Code:
function H2I takes handle h returns integer
return h
return 0
endfunction
function I2H takes integer i returns handle
return i
return null
endfunction
function I2U takes integer i returns unit
return i
return null
endfunction
function I2G takes integer i returns group
return i
return null
endfunction
function I2E takes integer i returns effect
return i
return null
endfunction
function I2T takes integer i returns timer
return i
return null
endfunction
How can I fix this problem for my map to finally compile in the latest wc3 (1.32) ?
edit:fixed.
Last edited: