From: Samual Lenks Date: Mon, 10 Jun 2013 03:56:52 +0000 (-0400) Subject: Fix the registration of LG X-Git-Tag: xonotic-v0.8.0~152^2~405 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0b0e7212aa5989f8097796e47b7e81a0558678b7;p=xonotic%2Fxonotic-data.pk3dir.git Fix the registration of LG --- diff --git a/qcsrc/server/w_lightning.qc b/qcsrc/server/w_lightning.qc index 6edd0ced8..e4b7230d6 100644 --- a/qcsrc/server/w_lightning.qc +++ b/qcsrc/server/w_lightning.qc @@ -1,5 +1,15 @@ #ifdef REGISTER_WEAPON -REGISTER_WEAPON(LIGHTNING, w_lightning, IT_CELLS, 5, WEP_FLAG_NORMAL | WEP_TYPE_SPLASH, BOT_PICKUP_RATING_MID, "lightning", "lightning", _("Lightning")); +REGISTER_WEAPON( +/* WEP_##id */ LIGHTNING, +/* function */ w_lightning, +/* ammotype */ IT_CELLS, +/* impulse */ 5, +/* flags */ WEP_FLAG_NORMAL | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "lightning", +/* shortname */ "lightning", +/* fullname */ _("Lightning") +); #else #ifdef SVQC