Ah i see .
I do hope it get implented in the main project.
As i dont wanna have any conflict when i update or having to readd it everytime.
Edit:
Also why is this in the cMonster
Isnt m_mobtype defined by the monster class itself atm for me also m_Health isnt that better ?
I do hope it get implented in the main project.
As i dont wanna have any conflict when i update or having to readd it everytime.
Edit:
Also why is this in the cMonster
Code:
m_Health = 10;
int RandVal = rand() % 4;
if( RandVal == 0 )
m_MobType = 90; // Pig
else if( RandVal == 1 )
m_MobType = 91; // Sheep
else if( RandVal == 2 )
m_MobType = 92; // Cow
else
m_MobType = 93; // Hen