mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 13:36:36 +00:00
Changed enable/disable recipe to confirm change made.
This commit is contained in:
+8
-4
@@ -2901,16 +2901,20 @@ void QuestManager::CrossZoneMessagePlayerByName(uint32 Type, const char *CharNam
|
||||
safe_delete(pack);
|
||||
}
|
||||
|
||||
void QuestManager::EnableRecipe(uint32 recipe_id)
|
||||
bool QuestManager::EnableRecipe(uint32 recipe_id)
|
||||
{
|
||||
bool success = false;
|
||||
if (recipe_id > 0)
|
||||
database.EnableRecipe(recipe_id);
|
||||
success = database.EnableRecipe(recipe_id);
|
||||
return (success);
|
||||
}
|
||||
|
||||
void QuestManager::DisableRecipe(uint32 recipe_id)
|
||||
bool QuestManager::DisableRecipe(uint32 recipe_id)
|
||||
{
|
||||
bool success = false;
|
||||
if (recipe_id > 0)
|
||||
database.DisableRecipe(recipe_id);
|
||||
success = database.DisableRecipe(recipe_id);
|
||||
return (success);
|
||||
}
|
||||
|
||||
Client *QuestManager::GetInitiator() const {
|
||||
|
||||
Reference in New Issue
Block a user