Browse files

AREImporter: fixed regression from 833056d and bugs from 31d4d4b

iwd1 also uses IWD2ScriptName, so too much code was run, breaking
avatar removal in particular, making both iwd/how unfinishable

thanks go to merbie for bisecting
  • Loading branch information...
1 parent 1f88a2d commit c5f9086da0a21a75f1e3c9c780fd3ad2d4f18459 @lynxlynxlynx lynxlynxlynx committed Apr 5, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/plugins/AREImporter/AREImporter.cpp
@@ -1038,7 +1038,7 @@ Map* AREImporter::GetMap(const char *ResRef, bool day_or_night)
//IWD2 specific hacks
- if (core->HasFeature(GF_IWD2_SCRIPTNAME)) {
+ if (core->HasFeature(GF_3ED_RULES)) {
//This flag is used for something else in IWD2

0 comments on commit c5f9086

Please sign in to comment.