diff options
| author | Jonas Ask | 2009-10-28 00:24:25 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-10-28 00:24:25 +0000 |
| commit | ed753c376b5aba0529417e099ae3b32e0e6dac8f (patch) | |
| tree | 5d67645fa502156ebab3081352e3e470e2919405 /CreatureConfiguration.cpp | |
| parent | c0eb76c086c29378a54c0cb5173a4795ab07349e (diff) | |
| download | stonesense-ed753c376b5aba0529417e099ae3b32e0e6dac8f.tar.gz stonesense-ed753c376b5aba0529417e099ae3b32e0e6dac8f.tar.bz2 stonesense-ed753c376b5aba0529417e099ae3b32e0e6dac8f.tar.xz | |
Added configurable wall and floor types, responding to their material index
Diffstat (limited to 'CreatureConfiguration.cpp')
| -rw-r--r-- | CreatureConfiguration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CreatureConfiguration.cpp b/CreatureConfiguration.cpp index 641b3c4..71494d7 100644 --- a/CreatureConfiguration.cpp +++ b/CreatureConfiguration.cpp @@ -24,7 +24,7 @@ void DumpCreatureNamesToDisk(){ FILE* fp = fopen("dump.txt", "w");
if(!fp) return;
for(uint32_t j=0; j < v_creatureNames.size(); j++){
- fprintf(fp, "%s\n", v_creatureNames[j].id);
+ fprintf(fp, "%i:%s\n",j, v_creatureNames[j].id);
}
fclose(fp);
}
|
