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

Object spawns are broken when starting a new game #45

Closed
JPLeBreton opened this issue Jun 20, 2018 · 5 comments
Closed

Object spawns are broken when starting a new game #45

JPLeBreton opened this issue Jun 20, 2018 · 5 comments

Comments

@JPLeBreton
Copy link

JPLeBreton commented Jun 20, 2018

steps to repro:

  1. launch shockolate
  2. start a new game with any difficulty settings
  3. observe: left door in first room starts open, there's a mutant inside it, and none of the stuff you need to get through the door out of this room is there.

I tried wiping my save data just in case this was related, no change in behavior.

@Interrupt
Copy link
Owner

Not seeing this behavior when running clean builds on OSX or Linux, so this is a strange one. It sounds like a similar issue to your 'everything is a phone' bug that popped up once. That fixed itself when you sorted out SDL, right? Is CMake finding the wrong SDL again?

@JPLeBreton
Copy link
Author

I'm seeing visuals and hearing sound, so it must be using the right SDL and SDL_mixer right?
How different is the code path for loading into a new game from the menu versus starting a new game via launching before the menu code came in? (Which, admittedly in my case, was long enough ago that many other things about the codebase were different.)

@Interrupt
Copy link
Owner

Starting a game via the main menu should just delay the call to go_and_start_the_game_already which starts the game up, that used to be the first thing that was done but now we start in the main menu instead.

@JPLeBreton
Copy link
Author

Just to have a paper trail here, as we discussed this happens due to case-insensitivity of the code that copies res/data/archive.dat to create the new current game save data.

@Interrupt
Copy link
Owner

Opened a new Issue to deal with this: #50

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

No branches or pull requests

2 participants