mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 12:30:40 +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.
|
||||
void Clear()
|
||||
{
|
||||
memset(this, 0, sizeof(*this));
|
||||
*this = {};
|
||||
}
|
||||
|
||||
// Receives mouse input from OS for processing.
|
||||
|
|
Loading…
Reference in a new issue