OmegaRPG icon indicating copy to clipboard operation
OmegaRPG copied to clipboard

order of paladins in guild2.cpp does not update hitpoints on screen immediately after heal

Open xormor2 opened this issue 7 years ago • 0 comments

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."); }

xormor2 avatar Jul 29 '17 06:07 xormor2