1
0

Merge pull request #2294 from bibo38/horsefix

Now Horses spawn with correct data values.
This commit is contained in:
worktycho 2015-06-26 19:16:14 +01:00
commit acec8c5a83

View File

@ -1073,9 +1073,9 @@ cMonster * cMonster::NewMonsterFromType(eMonsterType a_MobType)
case mtHorse:
{
// Horses take a type (species), a colour, and a style (dots, stripes, etc.)
int HorseType = Random.NextInt(7);
int HorseColor = Random.NextInt(6);
int HorseStyle = Random.NextInt(6);
int HorseType = Random.NextInt(8);
int HorseColor = Random.NextInt(7);
int HorseStyle = Random.NextInt(5);
int HorseTameTimes = Random.NextInt(6) + 1;
if ((HorseType == 5) || (HorseType == 6) || (HorseType == 7))