1dot13 / source

Source code for the game executable of the Jagged Alliance 2 v1.13 project
101 stars 18 forks source link

Fixed drugtypes and drugitems background tags causing subsequent tags in the same background to be skipped #295

Closed andrzejfalkowski closed 8 months ago

andrzejfalkowski commented 8 months ago

On closing drugtypes and drugitems tags pData->curElement wasn't set back to ELEMENT, so other tags after that would be skipped until reaching a next background tag.

Also if drugitems were set after drugtypes, drugtypes would be cleared (wrong vector).