Browse Source

Fixed EFST initialization (#6683)

Fixes #6675

Thanks to @jofvgaming, @Singe-Horizontal, @secretdataz and @aleos89.
Lemongrass3110 3 years ago
parent
commit
213406013d
1 changed files with 2 additions and 0 deletions
  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;