adjust green poison counter to only display when player poisoned.

This commit is contained in:
omegablast2002@yahoo.com
2010-08-26 06:19:36 +00:00
parent e644aaae3a
commit 20e563e5ed
+2
View File
@@ -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
{ {