Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003929Zandronum[All Projects] Bugpublic2021-12-07 16:242021-12-07 16:24
ReporterMr. Satan 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformMicrosoftOSWindowsOS Version8.1
Product Version3.1-beta 
Target VersionFixed in Version 
Summary0003929: Net code can not handle 0 duration loops in DECORATE properly.
DescriptionNet code can not handle 0 duration loops in DECORATE properly when using normal flow controls (Loop/Goto).

Steps To ReproduceThis will cause the error message: "Warning: Breaking infinite loop in actor %s.\nCurrent offset from spawn state is %ld\n"
  State:
    TNT1 A 0 A_SetUserVar("user_loop",0)
  StateLoop:
    TNT1 A 0 Do Stuff
    TNT1 A 0 A_SetUserVar("user_loop",user_loop + 1)
    TNT1 A 0 A_JumpIf(user_loop == 10,1)
    Loop/Goto StateLoop
    TNT1 A 0 Do more stuff
Additional InformationBut this works fine for some reason:
  State:
    TNT1 A 0 A_SetUserVar("user_loop",0)
  StateLoop:
    TNT1 A 0 Do Stuff
    TNT1 A 0 A_SetUserVar("user_loop",user_loop + 1)
    TNT1 A 0 A_JumpIf(user_loop == 10,2)
    TNT1 A 0 A_Jump(256,"StateLoop")
    TNT1 A 0 Do more stuff
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2021-12-07 16:24 Mr. Satan New Issue






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker