diff --git a/client_commandline/src/client_commandline.cpp b/client_commandline/src/client_commandline.cpp index bd0a0de2..d22ea5fa 100644 --- a/client_commandline/src/client_commandline.cpp +++ b/client_commandline/src/client_commandline.cpp @@ -480,7 +480,7 @@ void deviceOffsets(int argc, const char * argv[]) { if (argc < 8) { throw std::runtime_error("Error: Too few arguments."); } - if (std::strcmp(argv[3], "worldPosOffset") == 0) { + if (std::strcmp(argv[4], "worldPosOffset") == 0) { universe = 1; type = 2; } else if (std::strcmp(argv[4], "worldRotOffset") == 0) {