|
|
@ -2537,7 +2537,7 @@ static command_result loadstock ( color_ostream &out, vector <string> & paramete
|
|
|
|
StockpileSerializer cereal ( sp );
|
|
|
|
StockpileSerializer cereal ( sp );
|
|
|
|
if ( debug )
|
|
|
|
if ( debug )
|
|
|
|
cereal.enable_debug ( out );
|
|
|
|
cereal.enable_debug ( out );
|
|
|
|
if ( !cereal.unserialize_from_file ( parameters.at ( 0 ) ) )
|
|
|
|
if ( !cereal.unserialize_from_file ( file ) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
out << "unserialize failed" << endl;
|
|
|
|
out << "unserialize failed" << endl;
|
|
|
|
return CR_FAILURE;
|
|
|
|
return CR_FAILURE;
|
|
|
|