MantisBT - Zandronum | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0003929 | Zandronum | [All Projects] Bug | public | 2021-12-07 16:24 | 2021-12-07 16:24 |
| Reporter | Mr. Satan | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | Microsoft | OS | Windows | OS Version | 8.1 |
| Product Version | 3.1-beta | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0003929: Net code can not handle 0 duration loops in DECORATE properly. | ||||
| Description | Net code can not handle 0 duration loops in DECORATE properly when using normal flow controls (Loop/Goto). | ||||
| Steps To Reproduce | This 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 Information | But 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 | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2021-12-07 16:24 | Mr. Satan | New Issue | |||
| There are no notes attached to this issue. |