forked from github/server
unused variables are unused
This commit is contained in:
parent
fda365cd84
commit
c6b8f4c491
1 changed files with 0 additions and 15 deletions
|
@ -295,9 +295,6 @@ int sp_combatrosthauch(struct castorder * co)
|
||||||
int force = lovar(power * 15);
|
int force = lovar(power * 15);
|
||||||
int qi, k = 0;
|
int qi, k = 0;
|
||||||
|
|
||||||
/* Immer aus der ersten Reihe nehmen */
|
|
||||||
unused(sp);
|
|
||||||
|
|
||||||
if (!count_enemies(b, fi, FIGHT_ROW, BEHIND_ROW - 1,
|
if (!count_enemies(b, fi, FIGHT_ROW, BEHIND_ROW - 1,
|
||||||
SELECT_ADVANCE | SELECT_FIND)) {
|
SELECT_ADVANCE | SELECT_FIND)) {
|
||||||
message *msg = msg_message("rust_effect_0", "mage", fi->unit);
|
message *msg = msg_message("rust_effect_0", "mage", fi->unit);
|
||||||
|
@ -803,8 +800,6 @@ int sp_shadowcall(struct castorder * co)
|
||||||
const race *rc = rc_find(races[rng_int() % 3]);
|
const race *rc = rc_find(races[rng_int() % 3]);
|
||||||
message *msg;
|
message *msg;
|
||||||
|
|
||||||
unused(sp);
|
|
||||||
|
|
||||||
u = create_unit(r, mage->faction, force, rc, 0, NULL, mage);
|
u = create_unit(r, mage->faction, force, rc, 0, NULL, mage);
|
||||||
setstatus(u, ST_FIGHT);
|
setstatus(u, ST_FIGHT);
|
||||||
|
|
||||||
|
@ -841,8 +836,6 @@ int sp_wolfhowl(struct castorder * co)
|
||||||
if (force>0) {
|
if (force>0) {
|
||||||
unit *u =
|
unit *u =
|
||||||
create_unit(r, mage->faction, force, rc, 0, NULL, mage);
|
create_unit(r, mage->faction, force, rc, 0, NULL, mage);
|
||||||
unused(sp);
|
|
||||||
|
|
||||||
leave(u, true);
|
leave(u, true);
|
||||||
setstatus(u, ST_FIGHT);
|
setstatus(u, ST_FIGHT);
|
||||||
|
|
||||||
|
@ -882,8 +875,6 @@ int sp_shadowknights(struct castorder * co)
|
||||||
int force = MAX(1, (int)get_force(power, 3));
|
int force = MAX(1, (int)get_force(power, 3));
|
||||||
message *msg;
|
message *msg;
|
||||||
|
|
||||||
unused(sp);
|
|
||||||
|
|
||||||
u =
|
u =
|
||||||
create_unit(r, mage->faction, force, new_race[RC_SHADOWKNIGHT], 0, NULL,
|
create_unit(r, mage->faction, force, new_race[RC_SHADOWKNIGHT], 0, NULL,
|
||||||
mage);
|
mage);
|
||||||
|
@ -926,8 +917,6 @@ int sp_strong_wall(struct castorder * co)
|
||||||
strongwall_ct = ct_find("strongwall");
|
strongwall_ct = ct_find("strongwall");
|
||||||
}
|
}
|
||||||
|
|
||||||
unused(sp);
|
|
||||||
|
|
||||||
if (!mage->building) {
|
if (!mage->building) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1376,8 +1365,6 @@ int sp_reeling_arrows(struct castorder * co)
|
||||||
battle *b = fi->side->battle;
|
battle *b = fi->side->battle;
|
||||||
message *m;
|
message *m;
|
||||||
|
|
||||||
unused(power);
|
|
||||||
|
|
||||||
b->reelarrow = true;
|
b->reelarrow = true;
|
||||||
m = msg_message("cast_spell_effect", "mage spell", fi->unit, sp);
|
m = msg_message("cast_spell_effect", "mage spell", fi->unit, sp);
|
||||||
message_all(b, m);
|
message_all(b, m);
|
||||||
|
@ -1399,8 +1386,6 @@ int sp_denyattack(struct castorder * co)
|
||||||
region *r = b->region;
|
region *r = b->region;
|
||||||
message *m;
|
message *m;
|
||||||
|
|
||||||
unused(power);
|
|
||||||
|
|
||||||
/* Fliehende Einheiten verlassen auf jeden Fall Gebäude und Schiffe. */
|
/* Fliehende Einheiten verlassen auf jeden Fall Gebäude und Schiffe. */
|
||||||
if (!fval(r->terrain, SEA_REGION)) {
|
if (!fval(r->terrain, SEA_REGION)) {
|
||||||
leave(mage, false);
|
leave(mage, false);
|
||||||
|
|
Loading…
Reference in a new issue