mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
fix bad string comparison.
This commit is contained in:
parent
6921bf18ce
commit
b5fdd6deff
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ CCMD (mapchecksum)
|
||||||
|
|
||||||
for (int i = 1; i < argv.argc(); ++i)
|
for (int i = 1; i < argv.argc(); ++i)
|
||||||
{
|
{
|
||||||
if(argv[i] == "*")
|
if(!strcmp(argv[i], "*"))
|
||||||
{
|
{
|
||||||
const char *wadname = fileSystem.GetResourceFileName(fileSystem.GetFileContainer(level.lumpnum));
|
const char *wadname = fileSystem.GetResourceFileName(fileSystem.GetFileContainer(level.lumpnum));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue