diff --git a/src/g_dumpinfo.cpp b/src/g_dumpinfo.cpp index fcca4ed5b4..99c4b6adf5 100644 --- a/src/g_dumpinfo.cpp +++ b/src/g_dumpinfo.cpp @@ -163,7 +163,7 @@ CCMD (mapchecksum) for (int i = 1; i < argv.argc(); ++i) { - if(argv[i] == "*") + if(!strcmp(argv[i], "*")) { const char *wadname = fileSystem.GetResourceFileName(fileSystem.GetFileContainer(level.lumpnum));