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 a4fae6f..29192ac 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