projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e9aeaf
)
Fix electro orbs not sticking to entities properly
author
Mario <mario@smbclan.net>
Sat, 13 Oct 2018 06:25:44 +0000
(16:25 +1000)
committer
Mario <mario@smbclan.net>
Sat, 13 Oct 2018 06:25:44 +0000
(16:25 +1000)
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
259fef6
..
9988e55
100644
(file)
--- a/
qcsrc/common/weapons/weapon/electro.qc
+++ b/
qcsrc/common/weapons/weapon/electro.qc
@@
-279,7
+279,7
@@
void W_Electro_Orb_Stick(entity this, entity to)
delete(this);
if(to)
- SetMovetypeFollow(
this
, to);
+ SetMovetypeFollow(
newproj
, to);
}
void W_Electro_Orb_Touch(entity this, entity toucher)