diff options
Diffstat (limited to 'games/orbital_eunuchs_sniper/patches/patch-af')
-rw-r--r-- | games/orbital_eunuchs_sniper/patches/patch-af | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/games/orbital_eunuchs_sniper/patches/patch-af b/games/orbital_eunuchs_sniper/patches/patch-af new file mode 100644 index 00000000000..ea534a724fc --- /dev/null +++ b/games/orbital_eunuchs_sniper/patches/patch-af @@ -0,0 +1,26 @@ +$NetBSD: patch-af,v 1.1 2006/10/17 23:44:59 wiz Exp $ + +--- src/target.cpp.orig 2003-03-16 14:38:31.000000000 +0000 ++++ src/target.cpp +@@ -186,9 +186,9 @@ void target() + print(238, row, COLOR_YELLOW, "%20s", "VPB file ID"); + row += 7; + print(238, row, COLOR_YELLOW, " %03X-%07X/%02X", +- ((((unsigned int)Game.SightedCharacter) * 7001337) & 0xfff), +- (((unsigned int)Game.SightedCharacter) * 1337357) & 0xfffffff, +- (((unsigned int)Game.SightedCharacter) * 70741) & 0xff); ++ ((((unsigned long)Game.SightedCharacter) * 7001337) & 0xfff), ++ (((unsigned long)Game.SightedCharacter) * 1337357) & 0xfffffff, ++ (((unsigned long)Game.SightedCharacter) * 70741) & 0xff); + + + break; +@@ -217,7 +217,7 @@ void target() + row += 7; + print(238, row, COLOR_YELLOW, "%20s", "Net worth"); + row += 7; +- print(238, row, COLOR_YELLOW, "%17u KC", (((unsigned int)Game.SightedCharacter) * 1337357) % 71937); ++ print(238, row, COLOR_YELLOW, "%17u KC", (((unsigned long)Game.SightedCharacter) * 1337357) % 71937); + break; + case 3: + print(238, row, COLOR_YELLOW, "%20s", "Splat."); |