Fix callcount typo

This commit is contained in:
MascaraSnake 2022-12-04 09:14:55 +01:00
parent 153def463f
commit 2cc7fe2bf0

View file

@ -1882,7 +1882,7 @@ boolean P_RunTriggerLinedef(line_t *triggerline, mobj_t *actor, sector_t *caller
// "Trigger on X calls" linedefs reset if args[2] is set // "Trigger on X calls" linedefs reset if args[2] is set
if (specialtype == 321 && triggerline->args[2]) if (specialtype == 321 && triggerline->args[2])
triggerline->callcount = triggerline->args[3]; triggerline->callcount = triggerline->args[1];
else else
{ {
// These special types work only once // These special types work only once