]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compile
authorMario <mario@smbclan.net>
Sat, 13 Oct 2018 15:07:35 +0000 (01:07 +1000)
committerMario <mario@smbclan.net>
Sat, 13 Oct 2018 15:07:35 +0000 (01:07 +1000)
qcsrc/common/weapons/weapon/minelayer.qc

index a4fae6f5ffda58f1759ceb6b8511b2e651803911..29192ac58168c153ae2561b86ed128f9c20fe4da 100644 (file)
@@ -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