Change line 2218 to
eweapon l = CreateEWeaponAt(id, n->X+InFrontX(n->Dir, distx), n->Y+InFrontY(n->Dir, disty));Right now the compiler complain about an invalid cast from a lweapon to a eweapon.
Change line 2218 to
eweapon l = CreateEWeaponAt(id, n->X+InFrontX(n->Dir, distx), n->Y+InFrontY(n->Dir, disty));Right now the compiler complain about an invalid cast from a lweapon to a eweapon.