Merge branch 'master' of https://github.com/ericwa/ericw-tools into q2-surfacelights

This commit is contained in:
MaxED 2018-05-08 15:50:45 +03:00
commit 520ad485a4
2 changed files with 3 additions and 2 deletions

View File

@ -281,7 +281,7 @@ EntDict_CheckTargetnameKeyMatched(const mbsp_t *bsp, const entdict_t &entity, co
}
if (!found) {
logprint("WARNING: %s has targetname \"%s\" which is not targetted by anything.\n",
logprint("WARNING: %s has targetname \"%s\", which is not targeted by anything.\n",
EntDict_PrettyDescription(bsp, entity).c_str(),
targetnameVal.c_str());
ok = false;

View File

@ -1188,7 +1188,8 @@ light_main(int argc, const char **argv)
if (!onlyents)
{
CheckLitNeeded(cfg);
if (loadversion != Q2_BSPVERSION) //mxd. No lit for Quake 2
CheckLitNeeded(cfg);
SetupDirt(cfg);
LightWorld(&bspdata, !!lmscaleoverride);