added potion saving for reals this time

dont build this commit cause workin on something
This commit is contained in:
Elijah 2018-01-26 08:31:09 -06:00
parent 2a368a81c0
commit ddbb771e89
2 changed files with 25 additions and 17 deletions

View file

@ -1,7 +1,7 @@
#include "Globals.h"
#include "Menu.h"
char versionText[34] = "Version 1.4.1";
char versionText[34] = "Version 1.5";
char fpsstr[34];
u8 currentMenu = 0;
@ -2286,6 +2286,11 @@ void tickPlayer(){
curInvSel = 0;
if(!playerUse()) currentMenu = MENU_INVENTORY;
}
if (k_delete.clicked){
curInvSel = 0;
if(!playerUse()) currentMenu = MENU_ARMOR;
}
if(isSwimming()) ++player.p.swimTimer;
if(UnderStrengthEffect) ++player.p.strengthTimer;