Fixing a memory overflow that caused the camera to move right all the time.

This commit is contained in:
Dario Manesku 2016-04-21 19:47:57 +02:00
parent 3be0c4091f
commit e759e55fd2

View File

@ -72,7 +72,7 @@ struct Mouse
struct Keyboard
{
Keyboard()
: m_ring(BX_COUNTOF(m_char) )
: m_ring(BX_COUNTOF(m_char)-4)
{
}