diff --git a/sound.c b/sound.c index f8b5de7da6..28055dee40 100644 --- a/sound.c +++ b/sound.c @@ -241,7 +241,7 @@ static bool MxSetBankSource(MixerChannel *mc, uint bank) FioReadBlock(mem, fe->file_size); for (i = 0; i != fe->file_size; i++) - mem[i] -= 128; // Convert unsigned sound data to signed + mem[i] += -128; // Convert unsigned sound data to signed assert(fe->bits_per_sample == 8 && fe->channels == 1 && fe->file_size != 0 && fe->rate != 0); diff --git a/ttd.dsp b/ttd.dsp index 130eb7594d..1b8a672802 100644 --- a/ttd.dsp +++ b/ttd.dsp @@ -760,6 +760,10 @@ SOURCE=.\table\allstrings.h SOURCE=.\table\animcursors.h # End Source File +# Begin Source File +SOURCE=.\table\autorail.h +# End Source File + # Begin Source File SOURCE=.\table\build_industry.h # End Source File diff --git a/ttd.vcproj b/ttd.vcproj index 9a36f4c473..7023f7d90f 100644 --- a/ttd.vcproj +++ b/ttd.vcproj @@ -188,6 +188,7 @@ WarningLevel="3" WarnAsError="TRUE" SuppressStartupBanner="TRUE" + Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="4" CallingConvention="0" CompileAs="1"/> @@ -2506,6 +2507,9 @@ + +