Changeset 296 for trunk/UUnit.pas


Ignore:
Timestamp:
Mar 29, 2019, 12:58:09 PM (6 years ago)
Author:
chronos
Message:
  • Added: New enumeration field type in generic TItem classes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UUnit.pas

    r291 r296  
    115115  else if Index = 6 then Integer(Value) := PowerDefense
    116116  else if Index = 7 then Integer(Value) := ViewRange
    117   else raise Exception.Create('Unsupported value index ' + IntToStr(Index));
     117  else inherited;
    118118end;
    119119
     
    127127  else if Index = 6 then PowerDefense := Integer(Value)
    128128  else if Index = 7 then ViewRange := Integer(Value)
    129   else raise Exception.Create('Unsupported value index ' + IntToStr(Index));
     129  else inherited;
    130130end;
    131131
Note: See TracChangeset for help on using the changeset viewer.