rezalas / riftshadow

Dedicated to the preservation of the game and modernization of a classic mud codebase.
MIT License
18 stars 14 forks source link

Possible missing code segment #173

Closed sean-gilliam closed 2 years ago

sean-gilliam commented 2 years ago

When the server goes through the boot sequence, there's a message displayed that indicates "Initializing host sockets...". However, there is no code associated with that and goes on to "Initialize random number generator..."

Wondering if the code was taken out but the message left in, or maybe some code got left out from the original.

For reference: https://github.com/rezalas/riftshadow/blob/main/code/mud.c#L62-L64

...
RS.Log("Initializing host sockets...");

<missing code block?>

RS.Log("Initialize random number generator...");
init_mm();
...
rezalas commented 2 years ago

This must have been an artifact that was never removed. We should dump it since the random number generator is plugged somewhere else.

sean-gilliam commented 2 years ago

Removed by commit ff471da547b9a904b7a34b93799f8c0307dadd81