blobwarsAttrition/src/test/worldTest.c

21 lines
241 B
C
Raw Normal View History

2018-03-09 19:26:04 +01:00
#include "worldTest.h"
void initWorldTest(char *worldId)
{
loadGame();
saveGame();
createScreenshotFolder();
if (worldId != NULL)
{
STRNCPY(game.worldId, worldId, MAX_NAME_LENGTH);
initWorld();
}
else
{
initHub();
}
}