Put the long and short location descriptions into a 'locations' data structure.
[open-adventure.git] / init.c
diff --git a/init.c b/init.c
index 1752553b0f93c747be489779a09680aab892b904..e5f43c7b3b30426d2eed27565fc3c4f9ffdc6973 100644 (file)
--- a/init.c
+++ b/init.c
@@ -184,7 +184,7 @@ void initialise(void)
 
     for (i=1; i<=LOCSIZ; i++) {
        game.abbrev[i]=0;
-       if (!(long_location_descriptions[i] == 0 || KEY[i] == 0)) {
+       if (!(locations[i].description.big == 0 || KEY[i] == 0)) {
            k=KEY[i];
            if(MOD(labs(TRAVEL[k]),1000) == 1)COND[i]=2;
        }