[z1914] Ensure that db saved values and values in memory are in sync

This fixes db-errors for npcs with random movement added with .npc add command.
Patch inspired by NoFantasy and MasterTomas