mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-26 11:59:37 -06:00
Compare commits
5 Commits
petTesting
...
navmesh_up
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f480d3117 | ||
|
|
f7efc4ee41 | ||
|
|
fbf798dea6 | ||
|
|
65c743527e | ||
| 79752c9abc |
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user