projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5090a0a
)
fix read from deleted entity
author
Martin Taibr <taibr.martin@gmail.com>
Thu, 16 Jan 2020 13:51:38 +0000
(14:51 +0100)
committer
Martin Taibr <taibr.martin@gmail.com>
Thu, 16 Jan 2020 13:51:38 +0000
(14:51 +0100)
qcsrc/common/weapons/weapon/electro.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/weapons/weapon/electro.qc
b/qcsrc/common/weapons/weapon/electro.qc
index
85f2df7
..
f7ac372
100644
(file)
--- a/
qcsrc/common/weapons/weapon/electro.qc
+++ b/
qcsrc/common/weapons/weapon/electro.qc
@@
-160,7
+160,8
@@
void W_Electro_Bolt_Think(entity this)
e.classname = "electro_orb_chain";
// explode first orb immediately, other orbs will chain with delay
- W_Electro_ExplodeCombo(e);
+ setthink(e, W_Electro_ExplodeCombo);
+ e.nextthink = time;
++found;
}