From 8e8c45b83684a78670cd7d341f3d8c333dea6c9b Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Mon, 12 Dec 2011 10:59:09 +0000
Subject: [PATCH] Fixed dying at the orc ambush

git-svn-id: http://svn.net-core.org/repos/t-engine4@4726 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/quests/staff-absorption.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/data/quests/staff-absorption.lua b/game/modules/tome/data/quests/staff-absorption.lua
index 2a88632d03..7e994ac4ed 100644
--- a/game/modules/tome/data/quests/staff-absorption.lua
+++ b/game/modules/tome/data/quests/staff-absorption.lua
@@ -77,7 +77,7 @@ start_ambush = function(self, who)
 		-- Protect from other hits on the same turn
 		self:setEffect(self.EFF_DAMAGE_SHIELD, 3, {power=1000000})
 
-		local o, item, inven_id = player:findInAllInventoriesBy("define_as", "STAFF_ABSORPTION")
+		local o, item, inven_id = self:findInAllInventoriesBy("define_as", "STAFF_ABSORPTION")
 		if o then
 			self:removeObject(inven_id, item, true)
 			o:removed()
-- 
GitLab