haekb / nolf1-modernizer

The goal of NOLF Modernizer is to help fix some long standing bugs, and update some more outdated features of the game.
https://haekb.itch.io/nolf-modernizer
45 stars 11 forks source link

Music Mood Locking #20

Closed haekb closed 4 years ago

haekb commented 4 years ago

As I was debugging a music trigger that wasn't triggering properly I noticed this bit of code in PlayerObj.cpp.

if (!g_pMusicMgr->IsMoodLocked()) return LTTRUE;

Now, I was under the assumption that locking the mood would be the thing that would prevent further changes, but I need to do some more research on this.

haekb commented 4 years ago

Music seems to play properly regardless. I've added a hack for the tech demo.