Changeset 120 for trunk/GameServer.pas
- Timestamp:
- Feb 3, 2018, 5:03:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GameServer.pas
r105 r120 295 295 MapSize := lx * ly; 296 296 LandMass := lm; 297 RandSeed := PreviewRND;297 DelphiRandSeed := PreviewRND; 298 298 if not PreviewElevation then 299 299 begin … … 714 714 bix[p1] := -1 715 715 else 716 bix[p1] := bixFirstAI + random(nBrain - bixFirstAI)716 bix[p1] := bixFirstAI + Delphirandom(nBrain - bixFirstAI) 717 717 else 718 718 bix[p1] := bixView[p1]; … … 838 838 RW[p].DefaultDebugMap := nil; 839 839 840 { !!!for i:=0 to nShipPart-1 do GShip[p].Parts[i]:= random((3-i)*2);{ }840 { !!!for i:=0 to nShipPart-1 do GShip[p].Parts[i]:=Delphirandom((3-i)*2);{ } 841 841 end; 842 842 … … 1371 1371 LandMass := NewLandMass; 1372 1372 MaxTurn := NewMaxTurn; 1373 Randomize;1374 RND := RandSeed;1373 DelphiRandomize; 1374 RND := DelphiRandSeed; 1375 1375 Mode := moPlaying; 1376 1376 CL := TCmdList.Create; … … 1416 1416 InitBrain(bixTerm); 1417 1417 1418 Randomize;1418 DelphiRandomize; 1419 1419 GAlive := 0; 1420 1420 GWatching := 1;
Note:
See TracChangeset
for help on using the changeset viewer.