From: Mario Date: Sat, 13 Oct 2018 15:07:35 +0000 (+1000) Subject: Fix compile X-Git-Tag: xonotic-v0.8.5~1774 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=da4923ffbb6204264ad8fbf2c9f8f8c162c5528d Fix compile --- diff --git a/qcsrc/common/weapons/weapon/minelayer.qc b/qcsrc/common/weapons/weapon/minelayer.qc index a4fae6f5ff..29192ac581 100644 --- 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