remove go_to

gotoposition does the same and more

DOCREF go_to
This commit is contained in:
ac-stef
2016-08-26 14:30:02 +02:00
parent 573e520ca0
commit f730106c56
2 changed files with 1 additions and 11 deletions
-10
View File
@@ -157,15 +157,6 @@ void whereami()
conoutf("you are at (%.2f,%.2f)", player1->o.x, player1->o.y);
}
void go_to(float *x, float *y, char *showmsg)
{
if(player1->state != CS_EDITING) return;
player1->newpos.x = *x;
player1->newpos.y = *y;
if(!showmsg || !*showmsg || strcmp(showmsg, "0")!=0)
conoutf("you are going to (%.2f; %.2f)", *x, *y);
}
void disconnect(int onlyclean, int async)
{
bool cleanup = onlyclean!=0;
@@ -337,7 +328,6 @@ COMMAND(modconnectadmin, "sis");
COMMAND(modlanconnect, "");
COMMANDN(disconnect, trydisconnect, "");
COMMAND(whereami, "");
COMMAND(go_to, "ffs");
void current_version(char *text)
{