• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[1.31.1] Bug: DestroyMultiboard causes crash after disabling letterbox

Status
Not open for further replies.
Level 10
Joined
Dec 11, 2009
Messages
234
Found this bug while fixing the good old RotD campaign.

1. Create some multiboard.
2. Destroy it:
JASS:
call DestroyMultiboard(mb)
2. Enable letterbox mode
3. Disable letterbox mode. As soon as the interface is fully shown, the game will crash. It probably tries to display the non-existent multiboard.

Uploaded the example map for demonstration.
Tested this in 1.30.4 - the game does crash
Tested this in 1.26 - the game does NOT crash

It can be avoided, if you hide multiboard before destroying it:
JASS:
call MultiboardDisplay(mb, false) 
call DestroyMultiboard(mb)
Nonetheless, it needs to be fixed, as it didn't happen in older versions.
 

Attachments

  • Bug - DestroyMultiboard.w3x
    21.9 KB · Views: 35
Status
Not open for further replies.
Top