فهرست منبع

made sure house instances only use instance based spawns (forgot a flag check in the DB!)

Support of issue #124
Image 4 سال پیش
والد
کامیت
57aee8d21a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      EQ2/source/WorldServer/WorldDatabase.cpp

+ 1 - 1
EQ2/source/WorldServer/WorldDatabase.cpp

@@ -6722,7 +6722,7 @@ int32 WorldDatabase::FindHouseInstanceSpawn(Spawn* spawn)
 
 	database_new.Select(&result, "SELECT id\n"
 		" FROM spawn\n"
-		" WHERE model_type = %u limit 1",
+		" WHERE model_type = %u and is_instanced_spawn=1 limit 1",
 		spawn->GetModelType());
 
 	if (result.GetNumRows() > 0 && result.Next()) {