Changeset 38 for trunk/Database.pas


Ignore:
Timestamp:
Jan 9, 2017, 8:50:12 AM (7 years ago)
Author:
chronos
Message:
  • Modified: Switches.pas renamed to Switches.inc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Database.pas

    r21 r38  
    1 {$INCLUDE Switches.pas}
     1{$INCLUDE Switches.inc}
    22// {$DEFINE TEXTLOG}
    33// {$DEFINE LOADPERF}
     
    77
    88uses
    9   Protocol, CmdList;
     9  SysUtils, Protocol, CmdList;
    1010
    1111const
     
    478478  y0: integer;
    479479begin
     480  if not (Loc >= 0) and (Loc < MapSize) and (dx + lx >= 0) then
     481    raise Exception.Create('Relative location error');
    480482  assert((Loc >= 0) and (Loc < MapSize) and (dx + lx >= 0));
    481483  y0 := Loc div lx;
Note: See TracChangeset for help on using the changeset viewer.