Changeset 38 for trunk/Database.pas
- Timestamp:
- Jan 9, 2017, 8:50:12 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Database.pas
r21 r38 1 {$INCLUDE Switches. pas}1 {$INCLUDE Switches.inc} 2 2 // {$DEFINE TEXTLOG} 3 3 // {$DEFINE LOADPERF} … … 7 7 8 8 uses 9 Protocol, CmdList;9 SysUtils, Protocol, CmdList; 10 10 11 11 const … … 478 478 y0: integer; 479 479 begin 480 if not (Loc >= 0) and (Loc < MapSize) and (dx + lx >= 0) then 481 raise Exception.Create('Relative location error'); 480 482 assert((Loc >= 0) and (Loc < MapSize) and (dx + lx >= 0)); 481 483 y0 := Loc div lx;
Note:
See TracChangeset
for help on using the changeset viewer.