forked from metin2/server
Remove hackshield and unused function, game now compiles and runs
This commit is contained in:
@@ -974,17 +974,17 @@ ACMD(do_state)
|
||||
snprintf(buf, sizeof(buf), "%s's State: ", tch->GetName());
|
||||
|
||||
if (tch->IsPosition(POS_FIGHTING))
|
||||
strlcat(buf, "Battle", sizeof(buf));
|
||||
strncat(buf, "Battle", sizeof(buf));
|
||||
else if (tch->IsPosition(POS_DEAD))
|
||||
strlcat(buf, "Dead", sizeof(buf));
|
||||
strncat(buf, "Dead", sizeof(buf));
|
||||
else
|
||||
strlcat(buf, "Standing", sizeof(buf));
|
||||
strncat(buf, "Standing", sizeof(buf));
|
||||
|
||||
if (ch->GetShop())
|
||||
strlcat(buf, ", Shop", sizeof(buf));
|
||||
strncat(buf, ", Shop", sizeof(buf));
|
||||
|
||||
if (ch->GetExchange())
|
||||
strlcat(buf, ", Exchange", sizeof(buf));
|
||||
strncat(buf, ", Exchange", sizeof(buf));
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "%s", buf);
|
||||
|
||||
|
Reference in New Issue
Block a user