Fixing a memory overflow that caused the camera to move right all the time.
This commit is contained in:
parent
3be0c4091f
commit
e759e55fd2
@ -72,7 +72,7 @@ struct Mouse
|
||||
struct Keyboard
|
||||
{
|
||||
Keyboard()
|
||||
: m_ring(BX_COUNTOF(m_char) )
|
||||
: m_ring(BX_COUNTOF(m_char)-4)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user