fix: do not remove player_weaponstrip on regamedll (not affected by this bug)
This commit is contained in:
parent
e659495942
commit
1eac0f8be8
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ void Game::levelInitialize (edict_t *entities, int max) {
|
||||||
if (is (GameFlags::Legacy) && strings.isEmpty (ent->v.target.chars ())) {
|
if (is (GameFlags::Legacy) && strings.isEmpty (ent->v.target.chars ())) {
|
||||||
ent->v.target = ent->v.targetname = engfuncs.pfnAllocString ("fake");
|
ent->v.target = ent->v.targetname = engfuncs.pfnAllocString ("fake");
|
||||||
}
|
}
|
||||||
else {
|
else if (!is (GameFlags::ReGameDLL)) {
|
||||||
engfuncs.pfnRemoveEntity (ent);
|
engfuncs.pfnRemoveEntity (ent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue