Files
@ r25520:81c01f4df802
Branch filter:
Location: cpp/openttd-patchpack/source/src/lang/welsh.txt
r25520:81c01f4df802
416.3 KiB
text/plain
Codechange: remove unneeded comparison and casts
Division by resize_y is already yielding an unsigned number, so when clicking in the WD_FRAMERECT_TOP you would already get a huge value, so sel would never be negative. So, leave sel an unsigned number and remove the <= check.
Division by resize_y is already yielding an unsigned number, so when clicking in the WD_FRAMERECT_TOP you would already get a huge value, so sel would never be negative. So, leave sel an unsigned number and remove the <= check.