projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d97366b
)
Fix compile
author
Mario <mario@smbclan.net>
Sat, 13 Oct 2018 15:07:35 +0000
(
01:07
+1000)
committer
Mario <mario@smbclan.net>
Sat, 13 Oct 2018 15:07:35 +0000
(
01:07
+1000)
qcsrc/common/weapons/weapon/minelayer.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/weapons/weapon/minelayer.qc
b/qcsrc/common/weapons/weapon/minelayer.qc
index
a4fae6f
..
29192ac
100644
(file)
--- a/
qcsrc/common/weapons/weapon/minelayer.qc
+++ b/
qcsrc/common/weapons/weapon/minelayer.qc
@@
-262,7
+262,7
@@
void W_MineLayer_Attack(Weapon thiswep, entity actor, .entity weaponentity)
// scan how many mines we placed, and return if we reached our limit
if(WEP_CVAR(minelayer, limit))
{
- int minecount = W_MineLayer_Count(actor);
+ int minecount = W_MineLayer_Count(actor
, weaponentity
);
if(minecount >= WEP_CVAR(minelayer, limit))
{
// the refire delay keeps this message from being spammed