Skip to content

Commit

Permalink
Minor toilet nazi fix
Browse files Browse the repository at this point in the history
- I cant make these actors spawn their own toilet if there isn't one touching them because they get used in other locations that aren't toilets.

See Realm667#1209 and Realm667#1210
  • Loading branch information
AFADoomer committed Feb 25, 2022
1 parent 2b54356 commit 3e48940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/decorate/monsters/nazis.zs
Original file line number Diff line number Diff line change
Expand Up @@ -803,14 +803,14 @@ class ToiletNazi : BasicGuard
toilet = it.thing;
}
}

/* Can't do this, unfortunately; the actor can't be used in non-toilet locations if a toilet gets spawned.
// Spawn a toilet at this actor's location if none was found
if (!toilet)
{
toilet = Spawn("ToiletShootable", (pos.xy, floorz));
toilet.angle = angle;
}

*/
if (toilet)
{
bNoGravity = true;
Expand Down

0 comments on commit 3e48940

Please sign in to comment.