[nexuiz-commits] r7263 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jul 25 12:27:56 EDT 2009


Author: mand1nga
Date: 2009-07-25 12:27:56 -0400 (Sat, 25 Jul 2009)
New Revision: 7263

Modified:
   trunk/data/qcsrc/server/t_items.qc
Log:
Fix unreachable code

Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc	2009-07-25 14:43:18 UTC (rev 7262)
+++ trunk/data/qcsrc/server/t_items.qc	2009-07-25 16:27:56 UTC (rev 7263)
@@ -525,7 +525,6 @@
 				position = WEP_LAST - position;
 				// item.bot_pickupbasevalue is overwritten here
 				return (BOT_PICKUP_RATING_LOW + ( (BOT_PICKUP_RATING_HIGH - BOT_PICKUP_RATING_LOW) * (position / WEP_LAST ))) * c;
-				break;
 			}
 		}
 	}



More information about the nexuiz-commits mailing list