]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/btu.c
Update copyright notice
[empserver] / src / lib / common / btu.c
index ebf93684e96f154043cb7e326255dcc154518349..de65fa24353ef28edae15ebcf037709377552ee6 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,7 +26,7 @@
  *  ---
  *
  *  btu.c: Dealing with BTUs
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
@@ -64,8 +64,8 @@ accrued_btus(struct sctstr *cap, int etu)
        eff = 0.5;
 
     civ = cap->sct_item[I_CIVIL];
-    if (civ > 999)
-       civ = 999;
+    if (civ > 1000)
+       civ = 1000;
 
     return roundavg(etu * civ * eff * btu_build_rate);
 }