projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a48660
)
Always apply the owner change to func_breakable when being destroyed, not just in...
author
Mario <mario@smbclan.net>
Sun, 25 Jun 2017 09:34:20 +0000
(19:34 +1000)
committer
Mario <mario@smbclan.net>
Sun, 25 Jun 2017 09:34:20 +0000
(19:34 +1000)
qcsrc/common/triggers/func/breakable.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/triggers/func/breakable.qc
b/qcsrc/common/triggers/func/breakable.qc
index 81a61019080174099569de31bfb87670605c3ea1..79c2feb4eab85b8115a0ddcd00270a26323d7c81 100644
(file)
--- a/
qcsrc/common/triggers/func/breakable.qc
+++ b/
qcsrc/common/triggers/func/breakable.qc
@@
-271,7
+271,7
@@
void func_breakable_damage(entity this, entity inflictor, entity attacker, float
this.takedamage = DAMAGE_NO;
this.event_damage = func_null;
- if(IS_CLIENT(attacker)
&& this.classname == "func_assault_destructible")
+ if(IS_CLIENT(attacker)
) //
&& this.classname == "func_assault_destructible")
{
this.owner = attacker;
this.realowner = attacker;