Browse Source

Fixed EFST initialization (#6683)

Fixes #6675

Thanks to @jofvgaming, @Singe-Horizontal, @secretdataz and @aleos89.
Lemongrass3110 3 năm trước cách đây
mục cha
commit
213406013d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;