Compare commits

...

5 Commits

Author SHA1 Message Date
David Markowitz
4f480d3117 Merge branch 'navmesh_update' of https://github.com/DarkflameUniverse/DarkflameServer into navmesh_update 2023-11-04 00:14:01 -07:00
David Markowitz
f7efc4ee41 Navmesh: Add Frostburgh mesh
Also edit Forbidden Valley mesh
2023-11-04 00:13:56 -07:00
David Markowitz
fbf798dea6 Navmesh: Add Frostburgh mesh 2023-11-04 00:13:42 -07:00
David Markowitz
65c743527e Add null check for loot drops (#1243)
fixes a crash
2023-10-28 05:32:19 -05:00
79752c9abc chore: remove rarity table debug log (#1245)
cause it's too noisy
2023-10-28 05:31:54 -05:00
3 changed files with 1 additions and 2 deletions

View File

@@ -24,7 +24,6 @@ void SortTable(LootTableEntries& table) {
lootToInsert = oldItrInner;
}
}
Game::logger->LogDebug("CDLootTableTable", "highest rarity %i item id %i", highestLootRarity, lootToInsert->itemid);
std::swap(*oldItrOuter, *lootToInsert);
}
}

View File

@@ -1029,7 +1029,7 @@ void GameMessages::SendSetNetworkScriptVar(Entity* entity, const SystemAddress&
}
void GameMessages::SendDropClientLoot(Entity* entity, const LWOOBJID& sourceID, LOT item, int currency, NiPoint3 spawnPos, int count) {
if (Game::config->GetValue("disable_drops") == "1") {
if (Game::config->GetValue("disable_drops") == "1" || !entity) {
return;
}

Binary file not shown.