From 346e529007e382ab1ab752f6f613bff4298221c8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 21 Dec 2006 16:51:58 +0000 Subject: [PATCH] increase energy to go up in 200 unit increments instead of 100 and max out at 3000 instead of 1200 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3779 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_conference/mod_conference.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 30f8d0d73e..42e4224fef 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -993,9 +993,9 @@ static void conference_loop(conference_member_t *member) break; case '9': switch_mutex_lock(member->flag_mutex); - member->energy_level += 100; - if (member->energy_level > 1200) { - member->energy_level = 1200; + member->energy_level += 200; + if (member->energy_level > 3000) { + member->energy_level = 3000; } switch_mutex_unlock(member->flag_mutex); snprintf(msg, sizeof(msg), "Energy level %d", member->energy_level);