projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75024cc
)
Fix crylink merge
author
Nick S <nick@teichisma.info>
Fri, 2 Jun 2023 16:24:57 +0000
(19:24 +0300)
committer
Nick S <nick@teichisma.info>
Fri, 2 Jun 2023 16:24:57 +0000
(19:24 +0300)
qcsrc/common/weapons/weapon/crylink.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/weapons/weapon/crylink.qc
b/qcsrc/common/weapons/weapon/crylink.qc
index f9a3c27b8a4ba89ebcaca460e2856feb7a6d7b51..6a69a7c570936f87b24e92f5666fceeb11275c74 100644
(file)
--- a/
qcsrc/common/weapons/weapon/crylink.qc
+++ b/
qcsrc/common/weapons/weapon/crylink.qc
@@
-552,7
+552,7
@@
METHOD(Crylink, wr_think, void(entity thiswep, entity actor, .entity weaponentit
}
}
- if((actor.(weaponentity).crylink_waitrelease == 1 && !(
primary_fire)) || (actor.(weaponentity).crylink_waitrelease == 2 && !(secondary_fire
)))
+ if((actor.(weaponentity).crylink_waitrelease == 1 && !(
fire & 1)) || (actor.(weaponentity).crylink_waitrelease == 2 && !(fire & 2
)))
{
if(!actor.(weaponentity).crylink_lastgroup || time > actor.(weaponentity).crylink_lastgroup.teleport_time)
{