You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-simulation/qct/files/qct-0.7-constant.patch

22 lines
712 B

Fix traceback from using wrong name.
Patch by Peter `MathFox' Roozemaal.
http://bugs.gentoo.org/97762
http://sourceforge.net/tracker/index.php?func=detail&aid=801329&group_id=74836&atid=542163
--- qct/specializations.py
+++ qct/specializations.py
@@ -131,9 +131,9 @@
mods = self.getModsFor('incomeMod', employer)
if resident:
if resident.job == trainer:
- return prospect.level * INCOMEMULT * mods
+ return prospect.level * constants.INCOMEMULT * mods
else:
- return prospect.level * INCOMEMULT / 2 * mods
+ return prospect.level * constants.INCOMEMULT / 2 * mods
else:
return 0