]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/map.c
Merge commit '9fed37bae007bd5e53963ec67e925381609a2980' into garux-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / map.c
index 22fc166fc3773b8a45bfaf444552982fe9bf45f9..6c852174926782573430816ac9f713fc4e10a638 100644 (file)
@@ -1769,6 +1769,9 @@ static qboolean ParseMapEntity( qboolean onlyLights, qboolean noCollapseGroups )
        else if ( strcmp( "", ValueForKey( mapEnt, "_sn" ) ) ) {
                shadeAngle = FloatForKey( mapEnt, "_sn" );
        }
+       else if ( strcmp( "", ValueForKey( mapEnt, "_sa" ) ) ) {
+               shadeAngle = FloatForKey( mapEnt, "_sa" );
+       }
        else if ( strcmp( "", ValueForKey( mapEnt, "_smooth" ) ) ) {
                shadeAngle = FloatForKey( mapEnt, "_smooth" );
        }
@@ -1789,6 +1792,9 @@ static qboolean ParseMapEntity( qboolean onlyLights, qboolean noCollapseGroups )
        else if ( strcmp( "", ValueForKey( mapEnt, "_samplesize" ) ) ) {
                lightmapSampleSize = IntForKey( mapEnt, "_samplesize" );
        }
+       else if ( strcmp( "", ValueForKey( mapEnt, "_ss" ) ) ) {
+               lightmapSampleSize = IntForKey( mapEnt, "_ss" );
+       }
 
        if ( lightmapSampleSize < 0 ) {
                lightmapSampleSize = 0;