mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- Blood: clear gHitInfo when starting a level.
This commit is contained in:
parent
cf349fbd7d
commit
5d4e6696ca
1 changed files with 2 additions and 0 deletions
|
@ -270,6 +270,8 @@ void StartLevel(MapRecord* level, bool newgame)
|
||||||
STAT_NewLevel(currentLevel->fileName);
|
STAT_NewLevel(currentLevel->fileName);
|
||||||
TITLE_InformName(currentLevel->name);
|
TITLE_InformName(currentLevel->name);
|
||||||
wsrand(dbReadMapCRC(currentLevel->LabelName()));
|
wsrand(dbReadMapCRC(currentLevel->LabelName()));
|
||||||
|
gHitInfo.hitSector = nullptr;
|
||||||
|
gHitInfo.hitWall = nullptr;
|
||||||
gKillMgr.Clear();
|
gKillMgr.Clear();
|
||||||
gSecretMgr.Clear();
|
gSecretMgr.Clear();
|
||||||
automapping = 1;
|
automapping = 1;
|
||||||
|
|
Loading…
Reference in a new issue