adjust green poison counter to only display when player poisoned.
This commit is contained in:
@@ -98,6 +98,7 @@ void GuiAvatar::Render()
|
|||||||
}
|
}
|
||||||
//poison
|
//poison
|
||||||
char poison[5];
|
char poison[5];
|
||||||
|
if(poisonCount > 0){
|
||||||
sprintf(poison, "%i",poisonCount);
|
sprintf(poison, "%i",poisonCount);
|
||||||
switch (corner)
|
switch (corner)
|
||||||
{
|
{
|
||||||
@@ -112,6 +113,7 @@ void GuiAvatar::Render()
|
|||||||
}
|
}
|
||||||
PlayGuiObject::Render();
|
PlayGuiObject::Render();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ostream& GuiAvatar::toString(ostream& out) const
|
ostream& GuiAvatar::toString(ostream& out) const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user