fixed a coldharbour crash and idk what the other changes are

Author git <vivec@telvanni.eu>
Author date 2018-06-24 17:39:09
Author local date 2018-06-24 19:39:09 +0200
Committer git <vivec@telvanni.eu>
Committer date 2018-06-24 17:39:09
Committer local date 2018-06-24 19:39:09 +0200
Commit 7711411edddff283827c55230a1032148a7c2c6a
Tree 6b81d95e54a73cecd0e3262230fb553149a5fbd1
Parent b0c7d314d15e14e9c7a420c99f58642cbf588eab
Parent 526d4a0f144dea41fdc61c5f2f22f5376cfc3bb3
fixed a coldharbour crash and idk what the other changes are