Loading

Paste #ptetqoz97

  1. // This:
  2.         uint old_rate = t->growth_rate;
  3.         if (p2 == TOWN_GROW_RATE_NORMAL)
  4.             t->growth_rate = GetNormalGrowthRate(t);
  5.         else
  6.             t->growth_rate = p2 | TOWN_GROW_RATE_CUSTOM;
  7.  
  8. // Should be:
  9.         uint old_rate = t->growth_rate;
  10.         if (p2 == TOWN_GROW_RATE_NORMAL) {
  11.             t->growth_rate = GetNormalGrowthRate(t);
  12.         } else {
  13.             t->growth_rate = p2 | TOWN_GROW_RATE_CUSTOM;
  14.         }

Comments