mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-01 06:31:03 +00:00
- Favour value initialisation in GameInput::Clear()
instead of a memset()
.
This commit is contained in:
parent
7fa5df934b
commit
59acdde9c9
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public:
|
||||||
// Clear all values within this object.
|
// Clear all values within this object.
|
||||||
void Clear()
|
void Clear()
|
||||||
{
|
{
|
||||||
memset(this, 0, sizeof(*this));
|
*this = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Receives mouse input from OS for processing.
|
// Receives mouse input from OS for processing.
|
||||||
|
|
Loading…
Reference in a new issue