Skip to content

Commit

Permalink
Set engine compatibility at app_main
Browse files Browse the repository at this point in the history
Fixes spray issue on load if demos are not present (death wish)
  • Loading branch information
carnivoroussociety authored and Hendricks266 committed Sep 12, 2021
1 parent ffa53fd commit f37bbf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/blood/src/blood.cpp
Expand Up @@ -642,7 +642,6 @@ void StartLevel(GAMEOPTIONS *gameOptions)
}
}
bVanilla = gDemo.at1 && gDemo.m_bLegacy;
enginecompatibilitymode = ENGINE_19960925;//bVanilla;
memset(xsprite,0,sizeof(xsprite));
memset(sprite,0,kMaxSprites*sizeof(spritetype));
drawLoadingScreen();
Expand Down Expand Up @@ -1747,6 +1746,7 @@ int app_main(int argc, char const * const * argv)
ctrlInit();
timerInit(120);
timerSetCallback(ClockStrobe);
enginecompatibilitymode = ENGINE_19960925;
// PORT-TODO: CD audio init

initprintf("Initializing network users\n");
Expand Down

0 comments on commit f37bbf5

Please sign in to comment.