From 22df7a94020dc65f75abcc6ae3d9a3b587dd97f5 Mon Sep 17 00:00:00 2001 From: Lucas GAUTHERON Date: Thu, 28 Apr 2011 20:50:28 +0000 Subject: [PATCH] fix bug (:s) git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6388 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index 578e06e7..7cea6353 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -931,7 +931,7 @@ void grenadeent::splash() } int damage = guns[GUN_GRENADE].damage; - radialeffect(owner, o, damage, owner, GUN_GRENADE); + radialeffect(owner->type == ENT_BOT ? player1 : owner, o, damage, owner, GUN_GRENADE); loopv(players) { playerent *p = players[i];