OmegaRPG
OmegaRPG copied to clipboard
order of paladins in guild2.cpp does not update hitpoints on screen immediately after heal
order of paladins in guild2.cpp does not update hitpoints on screen immediately after heal, "Your wounds are treated by a medic." The code needs dataprint(); after Player.hp = Player.maxhp;
This is the code, in guild2.cpp: if ((Player.hp < Player.maxhp) || (Player.status[DISEASED]) || (Player.status[POISONED])) print1("Your wounds are treated by a medic."); cleanse(0); Player.hp = Player.maxhp; dataprint(); //This is the fix, dataprint(); needs to be added after Player.hp = Player.maxhp; if ( Player.food <= 40 ) { Player.food = 40; print2("You get a hot meal from the refectory."); }