Sorry, I didn't make a new topic.
Is these code right ?
dataobj\einstellungen.cc:349-
// restore AI state
for( int i=0; i<15; i++ ) {
file->rdwr_bool( automaten[i], "" );
file->rdwr_byte( spieler_type[i], "" );
file->rdwr_str( p****word[i], "" );
}
15 ?
MAX_PLAYER_COUNT ?
simworld.cc:2113-
for(int x=0; x<MAX_PLAYER_COUNT-1; x++) {
if(spieler[x]) {
spieler[x]->age_messages(delta_t);
}
}
MAX_PLAYER_COUNT-1 ?
MAX_PLAYER_COUNT ?