ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/bin/gce
(Generate patch)

Comparing deliantra/gde/bin/gce (file contents):
Revision 1.21 by elmex, Tue Apr 4 13:05:52 2006 UTC vs.
Revision 1.22 by elmex, Fri Apr 21 18:54:48 2006 UTC

98 $window->move ($p_and_s->[0] || $default_x, $p_and_s->[1] || $default_y); 98 $window->move ($p_and_s->[0] || $default_x, $p_and_s->[1] || $default_y);
99} 99}
100 100
101read_cfg "$Crossfire::VARDIR/gceconfig"; 101read_cfg "$Crossfire::VARDIR/gceconfig";
102 102
103$CFG->{LIBDIR} ||= $ENV{CROSSFIRE_LIBDIR}; 103$ENV{CROSSFIRE_LIBDIR} = $CFG->{LIBDIR}
104 if $CFG->{LIBDIR};
105
104$CFG->{MAPDIR} ||= File::Spec->catfile ($CFG->{LIBDIR}, 'maps'); 106$CFG->{MAPDIR} ||= File::Spec->catfile ($ENV{CROSSFIRE_LIBDIR}, 'maps');
105 107
106# must be done after changing the libdir path: 108# must be done after changing the libdir path:
107Crossfire::set_libdir ($CFG->{LIBDIR}); 109Crossfire::set_libdir ($ENV{CROSSFIRE_LIBDIR});
108Crossfire::load_archetypes; 110Crossfire::load_archetypes;
109Crossfire::load_tilecache; 111Crossfire::load_tilecache;
110 112
111my $w = GCE::MainWindow->new; 113my $w = GCE::MainWindow->new;
112 114

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines