Misc fixes

This commit is contained in:
hondacrx
2021-01-19 13:52:34 -05:00
parent 2d2392d6bb
commit f38fdfc781
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ namespace Framework.Constants
public const uint infinityCooldownDelayCheck = Time.Month / 2; public const uint infinityCooldownDelayCheck = Time.Month / 2;
public const int MaxPlayerSummonDelay = 2 * Time.Minute; public const int MaxPlayerSummonDelay = 2 * Time.Minute;
public const int TaxiMaskSize = 336; public const int TaxiMaskSize = 337;
// corpse reclaim times // corpse reclaim times
public const int DeathExpireStep = (5 * Time.Minute); public const int DeathExpireStep = (5 * Time.Minute);
+1 -1
View File
@@ -2031,7 +2031,7 @@ namespace Game.AI
{ {
List<uint> sounds = new List<uint>(); List<uint> sounds = new List<uint>();
var randomSound = e.Action.randomSound; var randomSound = e.Action.randomSound;
foreach (var id in new[] { randomSound.sound1, randomSound.sound2, randomSound.sound3, randomSound.sound4, randomSound.sound5 }) foreach (var id in new[] { randomSound.sound1, randomSound.sound2, randomSound.sound3, randomSound.sound4 })
if (id != 0) if (id != 0)
sounds.Add(id); sounds.Add(id);
+1
View File
@@ -728,6 +728,7 @@ namespace Game.DataStorage
} }
} }
HotfixRecord hotfixRecord = new HotfixRecord(); HotfixRecord hotfixRecord = new HotfixRecord();
hotfixRecord.TableHash = tableHash; hotfixRecord.TableHash = tableHash;
hotfixRecord.RecordID = recordId; hotfixRecord.RecordID = recordId;