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:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user