Use a wrapper around snprintf to consilidate all use, add error checking, and remove gcc 9 warnings about not checking the result. Replace the prevous use of snprintf added to weapon.c with the new scheme. Update a second spot that has a gcc sprintf warning. While there, simplify the code.
123 KiB
123 KiB