diff --git a/src/r_defs.h b/src/r_defs.h index 27c578e568..c43b6be838 100644 --- a/src/r_defs.h +++ b/src/r_defs.h @@ -850,11 +850,11 @@ struct side_t void SetTextureYScale(int which, fixed_t scale) { - textures[which].yscale = scale <= 0? FRACUNIT : scale; + textures[which].yscale = scale == 0 ? FRACUNIT : scale; } void SetTextureYScale(fixed_t scale) { - textures[top].yscale = textures[mid].yscale = textures[bottom].yscale = scale <= 0? FRACUNIT : scale; + textures[top].yscale = textures[mid].yscale = textures[bottom].yscale = scale == 0 ? FRACUNIT : scale; } fixed_t GetTextureYScale(int which) const {