|
From: Yoda-JM <yo...@us...> - 2009-07-26 10:05:15
|
Module: performous
Branch: master
Commit: 9aa54132b6d2a56ea57e44d48a3d5116738dc4fa
Author: Vincent Le Ligeour <yo...@us...>
Date: Sun Jul 26 12:04:56 2009 +0200
Fixed activity
---
game/layout_singer.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/layout_singer.cc b/game/layout_singer.cc
index fc4c0d9..9441d96 100644
--- a/game/layout_singer.cc
+++ b/game/layout_singer.cc
@@ -70,7 +70,7 @@ void LayoutSinger::draw(double time, Position position) {
unsigned int i = 0;
for (std::list<Player>::const_iterator p = players.begin(); p != players.end(); ++p, ++i) {
float act = p->activity();
- //if (act == 0.0f) continue;
+ if (act == 0.0f) continue;
glColor4f(p->m_color.r, p->m_color.g, p->m_color.b,act);
switch(position) {
case LayoutSinger::BOTTOM:
|