fix creature dump

develop
Petr Mrázek 2009-11-12 17:52:44 +00:00
parent 7ce31ae483
commit 35b15aeacf
1 changed files with 1 additions and 1 deletions

@ -42,7 +42,7 @@ int main (void)
uint32_t numCreatures = DF.InitReadCreatures(); uint32_t numCreatures = DF.InitReadCreatures();
for(uint32_t i = 0; i < numCreatures; i++) for(uint32_t i = 0; i < numCreatures; i++)
{ {
t_creature temp = {0}; t_creature temp;
DF.ReadCreature(i, temp); DF.ReadCreature(i, temp);
cout << "creature type " << creaturestypes[temp.type].id << ", position:" << temp.x << " " << temp.y << " "<< temp.z << endl; cout << "creature type " << creaturestypes[temp.type].id << ", position:" << temp.x << " " << temp.y << " "<< temp.z << endl;
bool addendl = false; bool addendl = false;