GeneralPantsuIsBadAtCoding / Azure-Peak

And thus, the curse of F13 spread onto another codebase.
GNU Affero General Public License v3.0
11 stars 71 forks source link

Sanity check before accessing potentially null var in limb code #888

Closed PPooch closed 6 days ago

PPooch commented 1 week ago

About The Pull Request

image C may not be initialized in the case of "no owner" for a foreign / skeletal limb, causing constant runtimes. Sanity check to prevent the lookup if C is null.

Why It's Good For The Game

Runtime fix (hopefully).