Mapgen v7: Fix uninitialized spflags
Mapgen v5: Fix minor style issue