Skip to content

Conversation

@julien-lecomte
Copy link
Contributor

@julien-lecomte julien-lecomte commented Dec 23, 2025

Add function SetStartingLocation(), the companion of GetStartingLocation.

This allows 2 things:

  • not having to move the starting point in the toolset, which often results in crashes for me.
  • moving the starting point for DestroyArea()

This MR contains #1850, so should be merged after MR 1850.

if (!Globals::ExoResMan()->Exists(resRef, Constants::ResRefType::ARE, nullptr))
{
LOG_WARNING("SetStartingLocation: ResRef '%s' does not exist", resRef.GetResRefStr());
return Constants::OBJECT_INVALID;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably meant {} here :D, though might be better to return true/false in the function?

@julien-lecomte julien-lecomte marked this pull request as draft January 24, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants