Files @ r25524:02dac61ae3ed
Branch filter:

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

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 OpenGFX...

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

echo OpenGFX has been removed.
goto end

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

:end