simple change in initialization

This commit is contained in:
Dana Jansens 2002-12-04 07:58:51 +00:00
parent 56d7b547ae
commit 0a15728be4

View file

@ -15,8 +15,8 @@ const unsigned int OBActions::DOUBLECLICKDELAY = 300;
OBActions::OBActions()
: _button(0), _enter_win(0)
{
_presses[0] = new MousePressAction();
_presses[1] = new MousePressAction();
for (int i = 0; i < 2; ++i)
_presses[i] = new MousePressAction();
// XXX: load a configuration out of somewhere