aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 97121b4..eb25e2e 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -30,6 +30,7 @@ extern std::vector<NPC *> AIpreaddr;
*/
extern bool gameRunning;
+extern unsigned int tickCount;
/*
* Freetype variables, and a GLuint for referencing rendered letters.
@@ -1276,6 +1277,9 @@ DONE:
} else if ( !dialogBoxExists || dialogPassive ) {
tmp = currentWorld;
switch(SDL_KEY){
+ case SDLK_t:
+ tickCount += 50;
+ break;
case SDLK_a:
if(fadeEnable)break;
player->vel.x=-.15;