mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +00:00
Fix callcount typo
This commit is contained in:
parent
153def463f
commit
2cc7fe2bf0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
if (specialtype == 321 && triggerline->args[2])
|
||||
triggerline->callcount = triggerline->args[3];
|
||||
triggerline->callcount = triggerline->args[1];
|
||||
else
|
||||
{
|
||||
// These special types work only once
|
||||
|
|
Loading…
Reference in a new issue