DEVTOOLS: Fix error in create_mortdat. Thanks to LordHoto for pointing it out