ddnet/src
Robert Müller 8adfb2f2ec Fix unlikely cases of skin blood color being wrong
The check before calling `normalize` incorrectly excludes skins containing zero in any color component instead of excluding only skins with zero in all components. The check can be removed entirely, because it is already checked inside the `normalize` function whether the length of the `vec3` is zero, in which case a zero `vec3` will be returned.

For very large skins which use large color values in at least one component, the `int` used for calculating the blood color could overflow.
2024-02-19 22:09:59 +01:00
..
android Add tests for overloaded hash operators, use operator instead 2022-11-12 20:36:38 +01:00
antibot Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
base Document all shell, OS, secure random and related functions 2024-02-12 23:05:21 +01:00
engine Merge pull request #7991 from Robyt3/Client-Loading-Indicators 2024-02-18 19:03:23 +00:00
game Fix unlikely cases of skin blood color being wrong 2024-02-19 22:09:59 +01:00
macos Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
masterping Add tool to manually ping the mastersrv 2022-12-29 12:50:24 +01:00
mastersrv Accept charset=* in Content-Type for masterserver 2024-01-31 20:34:21 +01:00
rust-bridge exclude rust_version 2024-02-06 13:50:35 +03:30
steam Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
test Include limits instead of climits 2024-01-11 22:24:37 +01:00
tools Fix undefined behavior on loading empty PNG files 2024-02-03 20:00:08 +01:00