Misc/Fixups

* forgotten rename fails
This commit is contained in:
Sarjuuk
2022-03-25 15:57:42 +01:00
parent 04e55b5498
commit 1f5e2645f0
2 changed files with 3 additions and 3 deletions

View File

@@ -1555,7 +1555,7 @@ class SmartAI
{
$type = Type::NPC;
if ($spawnType == 1)
$type == Type::GAMEOBJECT;
$type == Type::OBJECT;
$a['param'][7] = $this->spawnFlags('action', 3);
@@ -1582,7 +1582,7 @@ class SmartAI
case SAI_ACTION_RESPAWN_BY_SPAWNID: // 133
$type = Type::NPC;
if ($a['param'][0] == 1)
$type == Type::GAMEOBJECT;
$type == Type::OBJECT;
if ($_ = DB::Aowow()->selectCell('SELECT `typeId` FROM ?_spawns WHERE `type` = ?d AND `guid` = ?d', $type, $a['param'][1]))
$a['param'][6] = '['.Type::getFileString($type).'='.$_.']';