[Fix] Major bug in weapon.c.
  -- I believe it is a fix, but as only VLack can create the crash I am just guessing.