From 0c6316e6a34e5ae33348d07d32bdbea2be71d25b Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Tue, 29 Mar 2011 00:06:08 +0000
Subject: [PATCH] fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@3093 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/quests/ring-of-blood.lua | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/game/modules/tome/data/quests/ring-of-blood.lua b/game/modules/tome/data/quests/ring-of-blood.lua
index 7ad7aba2a9..ca4b784245 100644
--- a/game/modules/tome/data/quests/ring-of-blood.lua
+++ b/game/modules/tome/data/quests/ring-of-blood.lua
@@ -67,6 +67,8 @@ start_game = function(self)
 	game.party:setPlayer(slave)
 	game.player:hotkeyAutoTalents()
 	game.party.members[p].control = "no"
+	p.slaver_old_ai = p.ai
+	p.ai = "none"
 
 	slave.on_die = function(self)
 		game.player:hasQuest("ring-of-blood"):stop_game(false)
@@ -118,6 +120,7 @@ end
 stop_game = function(self, win)
 	local p = game.party:findMember{main=true}
 	local slave = game.player
+	p.ai = p.slaver_old_ai
 	game.party.members[p].control = "full"
 	game.party:setPlayer(p)
 	game.party:removeMember(slave)
-- 
GitLab