Show cursor whenever a dialog displays onscreen

This commit is contained in:
2014-04-14 21:27:46 -04:00
parent 10f1151923
commit 294f29b4f8

View File

@@ -875,6 +875,8 @@ bool cDialog::remove(std::string key){
extern char keyToChar(sf::Keyboard::Key key, bool isShift);
void cDialog::run(){
// We always need the cursor when we're in a dialog
mainPtr.setMouseCursorVisible(true);
using kb = sf::Keyboard;
kb::Key k;
cKey key;