shithub: rott

Download patch

ref: 8a962569e358f39e6a8fa272bed9c1492458e80e
parent: 59dda995639a7e3560f8eeb2ab68451ccafac2c9
author: LTCHIPS <ltchips994@gmail.com>
date: Tue Apr 24 14:18:26 EDT 2018

changed random num generator for determining blitzguard special weapon

--- a/rott/rt_actor.c
+++ b/rott/rt_actor.c
@@ -1594,6 +1594,10 @@
 void OutfitBlitzguardWith(objtype *ob)
 {
     int number = GameRandomNumber("outfitting blitzguard",0);
+    
+    srand((unsigned) number);
+    
+    number = rand() % 400;
 
     if (number < 100)
     {