lovexylitol
New Member
- Reaction score
- 2
Looks like they patched something with the return bug.
This does not seem to work.
The if-else syntax bug seems to be fixed. (Though I'm not sure of the syntax )
Both these look to work fine.
Patchnote
This does not seem to work.
The if-else syntax bug seems to be fixed. (Though I'm not sure of the syntax )
JASS:
private function test2 takes integer i returns integer
if(i == 1) then
return 10
elseif(i == 2) then
return 20
else
call BJDebugMsg("testing")
endif
return 30
endfunction
function Callback takes nothing returns boolean
if true then
return true
elseif true then
endif
return true
endfunction
Both these look to work fine.
Patchnote
--------------------------------------------------------------------------
WARCRAFT III: THE FROZEN THRONE VERSION HISTORY
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Patch 1.24b
--------------------------------------------------------------------------
PC WORLD EDITOR CHANGES
- Increased max map file size from 4 MB to 8 MB.
- Added the ability to store hashtable handles in a hashtable.
- Added GetSpellTargetX and GetSpellTargetY natives.
- Added a new base handle type “Agent” of which many types now extend from.
- Added a SaveAgentHandle native which can be used for saving most handle types.
- Added a JASS optimization dealing with global variable change events.
FIXES
- Fixed a few false positives caused by the "return bug" fix.
- Fixed a crash related to hashtable reference counting.
- “Shadowing” global variables with local variables no longer is possible.
- Fixed a type conversion dealing with operators (i.e. adding a handle with an integer).