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

View File

@@ -153,7 +153,7 @@ class GuideList extends BaseType
} }
$tt = '<table><tr><td><div style="max-width: 320px"><b class="q">'.$this->getField('title').'</b><br>'; $tt = '<table><tr><td><div style="max-width: 320px"><b class="q">'.$this->getField('title').'</b><br>';
$tt .= '<table width="100%"><tr><td>'.Lang::guide('guide').'</td><th>'.Lang::guide('byAuthor', [$this->getField('author')]).'</th></tr></table>'; $tt .= '<table width="100%"><tr><td>'.Lang::game('guide').'</td><th>'.Lang::guide('byAuthor', [$this->getField('author')]).'</th></tr></table>';
$tt .= '<table width="100%"><tr><td>'.Lang::guide('category', $this->getField('category')).$specStr.'</td><th>'.Lang::guide('patch').' 3.3.5</th></tr></table>'; $tt .= '<table width="100%"><tr><td>'.Lang::guide('category', $this->getField('category')).$specStr.'</td><th>'.Lang::guide('patch').' 3.3.5</th></tr></table>';
$tt .= '<div class="q" style="margin: 0.25em 0">'.$this->getField('description').'</div>'; $tt .= '<div class="q" style="margin: 0.25em 0">'.$this->getField('description').'</div>';
$tt .= '</div></td></tr></table>'; $tt .= '</div></td></tr></table>';