I've escaped from Speightstown with Rabel Yverneau's ship. I've made it back to Port Royale, tried to deliver a chest, been mugged by a pair of pirates, escaped from prison, and been told that the shipyard owner of Speightstown set me up and that Speightstown is now back in British control. So I sail back to Speightstown to ask the shipyard owner some pointed questions, and the fort starts blowing big holes in my ship even though I'm flying a British flag, which is genuine because I have a British LoM and haven't done anything naughty to British or allied ships.
A 'dumpattributes' of Speightstown fort commander shows that he still has the "recognized" attribute set. So this version of "quests_reaction.c" deletes the attribute right after Speightstown is retaken by Britain. With that in place, I replayed the escape from Speightstown, events in Port Royale and return to Speightstown, and this time was able to sail in safely.
A 'dumpattributes' of Speightstown fort commander shows that he still has the "recognized" attribute set. So this version of "quests_reaction.c" deletes the attribute right after Speightstown is retaken by Britain. With that in place, I replayed the escape from Speightstown, events in Port Royale and return to Speightstown, and this time was able to sail in safely.