Changeset - r7754:1722a789edcf
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-10-18 20:34:09
rubidium@openttd.org
(svn r11292) -Fix [FS#1350]: don't desync when generating random faces. Patch by SmatZ.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/player_face.h
Show inline comments
 
@@ -193,7 +193,7 @@ static inline void ScaleAllPlayerFaceBit
 
 */
 
static inline void RandomPlayerFaceBits(PlayerFace &pf, GenderEthnicity ge, bool adv)
 
{
 
	pf = Random(); // random all player face bits
 
	pf = InteractiveRandom(); // random all player face bits
 

	
 
	/* scale ge: 0 == GE_WM, 1 == GE_WF, 2 == GE_BM, 3 == GE_BF (and maybe in future: ...) */
 
	ge = (GenderEthnicity)((uint)ge % GE_END);
0 comments (0 inline, 0 general)