hedgewars/hwengine.pas
changeset 11631 b3db79b56f28
parent 11548 45982bda46cc
child 11633 215b837c16f9
child 11644 f17df78181d8
equal deleted inserted replaced
11629:c2e6df2cfac7 11631:b3db79b56f28
   463     uCommandHandlers.initModule;    // registers all messages from frontend
   463     uCommandHandlers.initModule;    // registers all messages from frontend
   464 
   464 
   465     uLand.initModule;               // computes land
   465     uLand.initModule;               // computes land
   466     uLandPainted.initModule;        // computes drawn land
   466     uLandPainted.initModule;        // computes drawn land
   467     uIO.initModule;                 // sets up sockets
   467     uIO.initModule;                 // sets up sockets
   468     uPhysFSLayer.initModule;
   468 
       
   469     PathPrefix:= PathPrefix + #0;
       
   470     UserPathPrefix:= UserPathPrefix + #0;
       
   471     uPhysFSLayer.initModule(@PathPrefix[1], @UserPathPrefix[1]);
       
   472     PathPrefix:= copy(PathPrefix, 1, length(PathPrefix) - 1);
       
   473     UserPathPrefix:= copy(UserPathPrefix, 1, length(UserPathPrefix) - 1);
       
   474 
   469     uScript.initModule;
   475     uScript.initModule;
   470 
   476 
   471     if complete then
   477     if complete then
   472     begin
   478     begin
   473         uTextures.initModule;
   479         uTextures.initModule;