Shockingly the only issue was the ai left the integers as signed, so it was a simple fix.
The larger issue was DooM used a synthetic 64bit integer to achieve it's fixed point math. Not every platform has a 'long long' or a int64, so I used AI to get around it.