Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recorder doesn't use level.lvl when run the normal way #10

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 2 comments
Closed

Recorder doesn't use level.lvl when run the normal way #10

GoogleCodeExporter opened this issue Mar 19, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Follow the steps in issue 9

What is the expected output? What do you see instead?
You expect that even though the level generator messed up the recording would 
still work because it stores a copy of the level that was generated.  Instead, 
the level is generated freshly, level.lvl is never used, and the bug in issue 9 
occurs.

What version of the product are you using? On what operating system?
Same as always.

Please provide any additional information below.
This bug happens because currently in LevelScene.reset() line 986 the call to 
cmdLineOptions.getReplayOptions() checks for a -rep argument to get the replay 
filename.  However, currently when using Replay.java no -rep argument is taken 
and so no replayFileName exists and the level is never read from the replay 
object.

This is easily fixable since there are many ways to get the filename to the 
correct classes.  Also, since levels are supposed to be the same between plays 
maybe this doesn't matter if issue 9 is fixed.

Original issue reported on code.google.com by melin...@gmail.com on 28 Oct 2010 at 9:37

@GoogleCodeExporter
Copy link
Author

Thanks you for your replies!

Yes, this is a bug. I will fix it in the next commit. 

Original comment by Nikolay....@gmail.com on 28 Oct 2010 at 1:37

  • Changed state: Accepted
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r620.

Original comment by Nikolay....@gmail.com on 29 Oct 2010 at 8:35

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant