Toaninja / Gladius

0 stars 0 forks source link

Match Engine Integration Bugs with League Engine #14

Closed nsmangat closed 3 years ago

nsmangat commented 3 years ago

Reproduce: Passing and processing vector array from League Engine to Match Engine

Root cause: Problems with how pointers are set and used, including using extra gladiator objects to copy the information from gladiators in the vector array, and insufficient testing in Match Engine functions.

Location: Match Engine, engine() and subsequent functions

Solution:

Version:

nsmangat commented 3 years ago

**Resolved

Solution: Had to mess around with the pointers to Gladiator objects, and use the set and get functions rather than friend functions to access data members. Fixed some minor bugs that added onto this problem as well.

Version of bugfix: 1.0