summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-06-26 20:16:14 +0200
committerworktycho <work.tycho@gmail.com>2015-06-26 20:16:14 +0200
commitacec8c5a83692d1fb60643c7356ac6932c106915 (patch)
tree2ed9e8063fa39c28423346e3186afe247534de13 /src
parentMerge pull request #2241 from lkolbly/master (diff)
parentNow Horses spawn with correct data values. (diff)
downloadcuberite-acec8c5a83692d1fb60643c7356ac6932c106915.tar
cuberite-acec8c5a83692d1fb60643c7356ac6932c106915.tar.gz
cuberite-acec8c5a83692d1fb60643c7356ac6932c106915.tar.bz2
cuberite-acec8c5a83692d1fb60643c7356ac6932c106915.tar.lz
cuberite-acec8c5a83692d1fb60643c7356ac6932c106915.tar.xz
cuberite-acec8c5a83692d1fb60643c7356ac6932c106915.tar.zst
cuberite-acec8c5a83692d1fb60643c7356ac6932c106915.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index 8d71c54e8..cb4edb951 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -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))