X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=blobdiff_plain;f=scripts%2Fshader-cpp.sh;h=28890ae3e9cd135fd22bc8af1f57870f93673938;hp=3c1b83c063ba73cc893a8f1d4a3d1f1eae99b989;hb=cf7e86e402578c8a807ffcb15041ec19b0dffe23;hpb=ff0337c72c56549298ff5cff59587752509af4b4 diff --git a/scripts/shader-cpp.sh b/scripts/shader-cpp.sh index 3c1b83c0..28890ae3 100755 --- a/scripts/shader-cpp.sh +++ b/scripts/shader-cpp.sh @@ -90,10 +90,10 @@ preprocess() ;; '#else') case "$condstack" in - 0) + 0*) condstack=1${condstack#0} ;; - 1) + 1*) condstack=0${condstack#1} ;; esac