diff --git a/includes/smartAI.class.php b/includes/smartAI.class.php index 0929b740..07b648c3 100644 --- a/includes/smartAI.class.php +++ b/includes/smartAI.class.php @@ -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).'='.$_.']'; diff --git a/includes/types/guide.class.php b/includes/types/guide.class.php index a1957652..97bec1ab 100644 --- a/includes/types/guide.class.php +++ b/includes/types/guide.class.php @@ -153,7 +153,7 @@ class GuideList extends BaseType } $tt = '
'.$this->getField('title').'
'; - $tt .= '
'.Lang::guide('guide').''.Lang::guide('byAuthor', [$this->getField('author')]).'
'; + $tt .= '
'.Lang::game('guide').''.Lang::guide('byAuthor', [$this->getField('author')]).'
'; $tt .= '
'.Lang::guide('category', $this->getField('category')).$specStr.''.Lang::guide('patch').' 3.3.5
'; $tt .= '
'.$this->getField('description').'
'; $tt .= '
';