logo       
Google Custom Search
    AddThis Social Bookmark Button

glip: Prevent a crash caused by using a possibly inv...: msg#00192

Subject: glip: Prevent a crash caused by using a possibly inv...
This is an automated notification of a change to freeciv cvs, 
on Thu Nov 18 18:30:42 PST 2004 = Fri Nov 19 02:30:42 2004 (GMT)
by Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxxx>

---- Files affected:

freeciv/server diplomats.c

---- Log message:
      Tag: HEAD

Prevent a crash caused by using a possibly invalid "improvement" variable
in place of the valid "target" variable in diplomat_sabotage.  Also fix
the logic: the comment says that the targeted sabotage is twice as hard
(the probability is divided by 2).  In fact the probability (which is less
than one by definition) was squared instead.

Issued as 11058.






Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>