mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- Simplify tosigned()
method inside of binangle
class.
This commit is contained in:
parent
abb7f87de3
commit
5dce9c8ff2
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class binangle
|
|||
|
||||
friend FSerializer &Serialize(FSerializer &arc, const char *key, binangle &obj, binangle *defval);
|
||||
|
||||
constexpr int32_t tosigned() const { return value > INT32_MAX ? int64_t(value) - UINT32_MAX : value; }
|
||||
constexpr int32_t tosigned() const { return int32_t(value); }
|
||||
|
||||
public:
|
||||
binangle() = default;
|
||||
|
|
Loading…
Reference in a new issue