Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Tools/MMaps: Fixed a suspicious bitwise condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
AriDEV3 committed Feb 18, 2024
1 parent e1e4fbf commit 89063ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/mmaps_generator/IntermediateValues.cpp
Expand Up @@ -96,7 +96,7 @@ namespace MMAP

void IntermediateValues::debugWrite(FILE* file, const rcCompactHeightfield* chf)
{
if (!file | !chf)
if (!file || !chf)
return;

fwrite(&(chf->width), sizeof(chf->width), 1, file);
Expand Down

0 comments on commit 89063ad

Please sign in to comment.