remove go_to
gotoposition does the same and more DOCREF go_to
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user