瀏覽代碼

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;