Make double fight prefix cancel out
This commit is contained in:
@@ -2081,6 +2081,13 @@ do_run(void)
|
|||||||
int
|
int
|
||||||
do_fight(void)
|
do_fight(void)
|
||||||
{
|
{
|
||||||
|
if (g.context.forcefight) {
|
||||||
|
Norep("Double fight prefix, canceled.");
|
||||||
|
g.context.forcefight = 1;
|
||||||
|
g.domove_attempting = 0;
|
||||||
|
return ECMD_CANCEL;
|
||||||
|
}
|
||||||
|
|
||||||
g.context.forcefight = 1;
|
g.context.forcefight = 1;
|
||||||
g.domove_attempting |= DOMOVE_WALK;
|
g.domove_attempting |= DOMOVE_WALK;
|
||||||
return ECMD_OK;
|
return ECMD_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user