mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed bad actor type check.
This commit is contained in:
parent
28b97486cd
commit
1e249d3536
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ void prelevel_r(int g, TArray<DDukeActor*>& actors)
|
|||
spriteinit_r(actor, actors);
|
||||
if (actor->GetClass()->TypeName == NAME_RedneckGeometryEffect)
|
||||
actor->Destroy();
|
||||
if (actor->spr.picnum == NAME_RedneckKeyinfoSetter)
|
||||
if (actor->GetClass()->TypeName == NAME_RedneckKeyinfoSetter)
|
||||
{
|
||||
actor->sector()->keyinfo = uint8_t(actor->spr.lotag);
|
||||
actor->Destroy();
|
||||
|
|
Loading…
Reference in a new issue