Files @ r25524:02dac61ae3ed
Branch filter:

Location: cpp/openttd-patchpack/source/os/os2/installer/remove_nosound.cmd - annotation

rubidium42
Change: mark copy-assignment as deleted for classes with a copy-constructor that is not trivial

This to prevent the default copy-assignment getting used when during the assignment also some other memory needs to be allocated as that would otherwise be freed.
@echo off
if "%1" == "" goto err

echo Removing NoSound...

del %1\baseset\nosound\*.* /n
rmdir %1\baseset\nosound

echo NoSound has been removed.
goto end

:err
echo This batch file is only intended for use by the OpenTTD installer.

:end