Преглед изворни кода

Fixed EFST initialization (#6683)

Fixes #6675

Thanks to @jofvgaming, @Singe-Horizontal, @secretdataz and @aleos89.
Lemongrass3110 пре 3 година
родитељ
комит
213406013d
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/map/status.cpp

+ 2 - 0
src/map/status.cpp

@@ -14881,6 +14881,8 @@ uint64 StatusDatabase::parseBodyNode(const YAML::Node &node) {
 }
 
 void StatusDatabase::loadingFinished(){
+	std::fill( std::begin( this->StatusRelevantBLTypes ), std::end( this->StatusRelevantBLTypes ), BL_PC );
+
 	for( auto& entry : *this ){
 		auto& status = entry.second;