Преглед на файлове

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;