1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

- Fixed some issues and crashes

- Simplified projectile handling. New creatures can now shoot.
This commit is contained in:
DjWarmonger
2012-09-21 19:49:35 +00:00
parent 8e3de98059
commit e2bfd53c98
8 changed files with 29 additions and 24 deletions

View File

@@ -432,10 +432,10 @@ void CCreatureHandler::loadCreatures()
value = &creature["projectile_defname"];
if (!value->isNull())
{
idToProjectile[creatureID] = value->String();
c->projectile = value->String();
value = &creature["projectile_spin"];
idToProjectileSpin[creatureID] = value->Bool();
c->projectileSpin = value->Bool();
}
value = &creature["turret_shooter"];