Since return/enter key was remapped to enable chat mode, we didn't remove this keypress from the input stream when we would save games. This resulted in the chat mode being enabled when a user saves their game.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6132 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
6a70a7750d
commit
e4a10b71bc
|
@ -31,6 +31,7 @@
|
||||||
#include "lib/framework/frame.h"
|
#include "lib/framework/frame.h"
|
||||||
#include "lib/framework/strres.h"
|
#include "lib/framework/strres.h"
|
||||||
#include "lib/framework/input.h"
|
#include "lib/framework/input.h"
|
||||||
|
#include "lib/framework/input.h"
|
||||||
#include "lib/widget/button.h"
|
#include "lib/widget/button.h"
|
||||||
#include "lib/widget/editbox.h"
|
#include "lib/widget/editbox.h"
|
||||||
#include "lib/widget/widget.h"
|
#include "lib/widget/widget.h"
|
||||||
|
@ -359,7 +360,8 @@ BOOL closeLoadSave(void)
|
||||||
|
|
||||||
}
|
}
|
||||||
widgReleaseScreen(psRequestScreen);
|
widgReleaseScreen(psRequestScreen);
|
||||||
|
// need to "eat" up the return key so it don't pass back to game.
|
||||||
|
inputLooseFocus();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue