Changeset 98
- Timestamp:
- May 22, 2017, 6:37:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Tribes.pas
r88 r98 5 5 6 6 uses 7 Protocol, ScreenTools, 8 7 Protocol, ScreenTools, LazFileUtils, 9 8 Classes, Graphics, SysUtils; 10 9 … … 20 19 TModelPictureInfo = record 21 20 trix, mix, pix, Hash: integer; 22 GrName: ShortString end; 23 24 TTribe = class symHGr, sympix, faceHGr, facepix, cHGr, cpix, 21 GrName: ShortString; 22 end; 23 24 TTribe = class 25 symHGr, sympix, faceHGr, facepix, cHGr, cpix, 25 26 // symbol and city graphics 26 27 cAge, mixSlaves: integer; … … 498 499 begin 499 500 Input := Script[i]; 500 if Input = '#UNITS ' + GrNamethen501 if Input = '#UNITS ' + ExtractFileNameOnly(GrName) then 501 502 ok := true 502 503 else if (Input <> '') and (Input[1] = '#') then
Note:
See TracChangeset
for help on using the changeset viewer.