aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 9e03f97..c0b5004 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -68,6 +68,11 @@ namespace ui {
*/
vec2 mouse;
+
+ /*
+ * Variety of keydown bools
+ */
+ bool edown;
/*
* Debugging flags.
@@ -512,7 +517,7 @@ namespace ui {
*/
if(player->inv->invOpen){
- hub.y = player->loc.y + fontSize * 10;
+ hub.y = player->loc.y + fontSize * 8;
hub.x = player->loc.x;
putStringCentered(hub.x,hub.y,"Current Quests:");
@@ -641,6 +646,7 @@ DONE:
if(debug)posFlag ^= true;
break;
case SDLK_e:
+ edown=true;
if(!heyOhLetsGo){
heyOhLetsGo = loops;
player->inv->mouseSel = false;
@@ -670,6 +676,7 @@ DONE:
player->speed = 1;
break;
case SDLK_e:
+ edown=false;
if(player->inv->invHover){
player->inv->invHover = false;
}else{