petrspelos / Streamnesia

Streamnesia is a chaos mod for Amnesia: The Dark Descent
GNU General Public License v3.0
2 stars 2 forks source link

Spawning doesn't work when maps lack areas #11

Open petrspelos opened 4 years ago

petrspelos commented 4 years ago

Summary

Spawning of entities is handled by the CreateEntityAtFirstArea function which iterates through existing entities and creates a new entity at the first ScriptArea it finds. This, however, will not work if the map doesn't have any.