From: MirceaKitsune Date: Thu, 15 Mar 2012 14:56:09 +0000 (+0200) Subject: Fix a bug causing stomach load not to show for spectated players X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f63b9464f4e4d82f108f24896d787b5a014beec0;p=voretournament%2Fvoretournament.git Fix a bug causing stomach load not to show for spectated players --- diff --git a/data/qcsrc/server/cl_client.qc b/data/qcsrc/server/cl_client.qc index 928ab643..e185bf68 100644 --- a/data/qcsrc/server/cl_client.qc +++ b/data/qcsrc/server/cl_client.qc @@ -2129,7 +2129,7 @@ void SpectateCopy(entity spectatee) { self.swallow_progress_prey = spectatee.swallow_progress_prey; self.swallow_progress_pred = spectatee.swallow_progress_pred; self.stat_stomachload = spectatee.stat_stomachload; - self.stat_stomachmaxload = spectatee.stomach_maxload; + self.stat_stomachmaxload = spectatee.stat_stomachmaxload; self.stat_digesting = spectatee.stat_digesting; self.stat_canleave = spectatee.stat_canleave; self.stat_canswallow = spectatee.stat_canswallow; diff --git a/data/qcsrc/server/g_world.qc b/data/qcsrc/server/g_world.qc index 7f48c6b5..f3484218 100644 --- a/data/qcsrc/server/g_world.qc +++ b/data/qcsrc/server/g_world.qc @@ -659,7 +659,7 @@ void spawnfunc_worldspawn (void) addstat(STAT_LAST_PICKUP, AS_FLOAT, last_pickup); addstat(STAT_WINNING, AS_FLOAT, winning); addstat(STAT_VORE_LOAD, AS_INT, stat_stomachload); - addstat(STAT_VORE_MAXLOAD, AS_INT, stomach_maxload); + addstat(STAT_VORE_MAXLOAD, AS_INT, stat_stomachmaxload); addstat(STAT_VORE_CANSWALLOW, AS_INT, stat_canswallow); addstat(STAT_VORE_DIGESTING, AS_INT, stat_digesting); addstat(STAT_VORE_EATEN, AS_INT, stat_eaten); diff --git a/docs/TODO.txt b/docs/TODO.txt index 9bdf66b7..97da3f44 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -154,6 +154,4 @@ - 0.7 | 0.8: Allow more bots from the menu? -- 0.7 BUG: When spectating a player, maximum stomach load appears as 0 on the HUD - - 0.8: Maybe turn the HEAL teammate into a sign, not part of shownames \ No newline at end of file