forked from github/server
speedsail is disabled
This commit is contained in:
parent
732dc68e93
commit
150a1e38b0
|
@ -71,6 +71,8 @@ use_speedsail(struct unit * u, const struct item_type * itype, int amount, struc
|
||||||
struct plane * p = rplane(u->region);
|
struct plane * p = rplane(u->region);
|
||||||
unused(amount);
|
unused(amount);
|
||||||
unused(itype);
|
unused(itype);
|
||||||
|
#ifdef SPEEDAIL_ENABLED
|
||||||
|
/* disabled because of abuse */
|
||||||
if (p!=NULL) {
|
if (p!=NULL) {
|
||||||
ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "use_realworld_only", ""));
|
ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "use_realworld_only", ""));
|
||||||
} else {
|
} else {
|
||||||
|
@ -91,6 +93,7 @@ use_speedsail(struct unit * u, const struct item_type * itype, int amount, struc
|
||||||
cmistake(u, ord, 144, MSG_EVENT);
|
cmistake(u, ord, 144, MSG_EVENT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return EUNUSABLE;
|
return EUNUSABLE;
|
||||||
}
|
}
|
||||||
/* END speedsail */
|
/* END speedsail */
|
||||||
|
|
Loading…
Reference in New Issue