X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fshared%2Fcli.cpp;h=9663cb2c4efb192e5e7f0ee36768c84b737db437;hb=20d0a76d2519c71009c3b3babec0df27529f8142;hp=d4cf525b90e5e1c346bd0dbc9e65356c85a41627;hpb=c2bf905f4b9863fe0f5c876ed00fe298cb95ab6b;p=blank.git diff --git a/src/shared/cli.cpp b/src/shared/cli.cpp index d4cf525..9663cb2 100644 --- a/src/shared/cli.cpp +++ b/src/shared/cli.cpp @@ -63,7 +63,7 @@ CLI::Command::~Command() { } -void TeleportCommand::Execute(CLI &cli, CLIContext &ctx, TokenStreamReader &args) { +void TeleportCommand::Execute(CLI &, CLIContext &ctx, TokenStreamReader &args) { glm::vec3 pos(args.GetFloat(), args.GetFloat(), args.GetFloat()); EntityState state = ctx.GetPlayer().GetEntity().GetState(); state.pos = ExactLocation(pos).Sanitize();