if (!line[i])
{
- graphics.showErrorAndExit("Malformed Intro Data", "");
+ return graphics.showErrorAndExit("Malformed Intro Data", "");
}
text[i] = NULL;
audio.playMusic();
- char *line = strtok((char*)engine.dataBuffer, "\n");
+ strtok((char*)engine.dataBuffer, "\n");
while (true)
{
- line = strtok(NULL, "\n");
+ char *line = strtok(NULL, "\n");
sscanf(line, "%d %d %d", &x, &y, &delay);
if (delay == -1)