Skip to content

100% test coverage on score.c

username-removed-1096594 requested to merge traas/open-adventure:master into master

The last few lines of code could only be achieved by cheating:

    rspeak(OFF_SCALE);
    rspeak(NO_HIGHER);

Thus, I had to cheat. I made a modified version of suspend() that set game.numdie = -10000; before saving. I then ran it through endgame428.log minus the last blast, saved, then reverted to that save file, and did the blast.

I also removed xstrdup(), as it wasn't being used.

Merge request reports