@@ -389,22 +389,23 @@ Biome *read_biome_def(lua_State *L, int index, INodeDefManager *ndef)
389
389
Biome *b = BiomeManager::create (biometype);
390
390
391
391
b->name = getstringfield_default (L, index , " name" , " " );
392
- b->depth_top = getintfield_default (L, index , " depth_top" , 1 );
393
- b->depth_filler = getintfield_default (L, index , " depth_filler" , 2 );
394
- b->depth_water_top = getintfield_default (L, index , " depth_water_top" , 0 );
395
- b->y_min = getintfield_default (L, index , " y_min" , -31000 );
396
- b->y_max = getintfield_default (L, index , " y_max" , 31000 );
397
- b->heat_point = getfloatfield_default (L, index , " heat_point" , 0 .f );
398
- b->humidity_point = getfloatfield_default (L, index , " humidity_point" , 0 .f );
392
+ b->depth_top = getintfield_default (L, index , " depth_top" , 1 );
393
+ b->depth_filler = getintfield_default (L, index , " depth_filler" , 2 );
394
+ b->depth_water_top = getintfield_default (L, index , " depth_water_top" , 0 );
395
+ b->y_min = getintfield_default (L, index , " y_min" , -31000 );
396
+ b->y_max = getintfield_default (L, index , " y_max" , 31000 );
397
+ b->heat_point = getfloatfield_default (L, index , " heat_point" , 0 .f );
398
+ b->humidity_point = getfloatfield_default (L, index , " humidity_point" , 0 .f );
399
399
b->flags = 0 ; // reserved
400
400
401
401
std::vector<std::string> &nn = b->m_nodenames ;
402
- nn.push_back (getstringfield_default (L, index , " node_top" , " " ));
403
- nn.push_back (getstringfield_default (L, index , " node_filler" , " " ));
404
- nn.push_back (getstringfield_default (L, index , " node_stone" , " " ));
405
- nn.push_back (getstringfield_default (L, index , " node_water_top" , " " ));
406
- nn.push_back (getstringfield_default (L, index , " node_water" , " " ));
407
- nn.push_back (getstringfield_default (L, index , " node_dust" , " " ));
402
+ nn.push_back (getstringfield_default (L, index , " node_top" , " " ));
403
+ nn.push_back (getstringfield_default (L, index , " node_filler" , " " ));
404
+ nn.push_back (getstringfield_default (L, index , " node_stone" , " " ));
405
+ nn.push_back (getstringfield_default (L, index , " node_water_top" , " " ));
406
+ nn.push_back (getstringfield_default (L, index , " node_water" , " " ));
407
+ nn.push_back (getstringfield_default (L, index , " node_river_water" , " " ));
408
+ nn.push_back (getstringfield_default (L, index , " node_dust" , " " ));
408
409
ndef->pendNodeResolve (b, NODE_RESOLVE_DEFERRED);
409
410
410
411
return b;
0 commit comments