Skip to content

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

Description

@xormor2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions