garion992
TH.net Regular
- Reaction score
- 17
Little Question
I have made a Function, just converted, but there seems something unlogical in it.
is this not better:
thx, garion992
I have made a Function, just converted, but there seems something unlogical in it.
JASS:
function TrigUnitName takes nothing returns boolean
if ( not ( GetUnitTypeId(GetEnteringUnit()) == 039;hfoo039; ) ) then
return false
endif
return true
endfunction
is this not better:
JASS:
function TrigUnitName takes nothing returns boolean
if ( GetUnitTypeId(GetEnteringUnit()) == 039;hfoo039; ) then
return true
endif
return false
endfunction
thx, garion992