EmperorFool
Deity
An explicit cast is when you put a type inside parentheses. It is needed here to convert from int to UnitAITypes:
Code:
UnitAITypes eUnitAI = [B](UnitAITypes)[/B] GC.getUnitInfo(eLoopUnit).getDefaultUnitAIType();