Mercurial > mm7
diff LightmapBuilder.cpp @ 1545:c4ab816fcc5e
assert, Abortf, AbortWithError -> Assert, Error
refactors here and there
author | Nomad |
---|---|
date | Sat, 07 Sep 2013 20:05:20 +0200 |
parents | c9e3b93ec570 |
children | 2c71fa8913d2 |
line wrap: on
line diff
--- a/LightmapBuilder.cpp Sat Sep 07 15:20:57 2013 +0200 +++ b/LightmapBuilder.cpp Sat Sep 07 20:05:20 2013 +0200 @@ -1,11 +1,10 @@ -#include <assert.h> - #include "LightmapBuilder.h" #include "Game.h" #include "stru314.h" #include "Outdoor.h" #include "Outdoor_stuff.h" #include "Log.h" +#include "ErrorHandling.h" #include "OutdoorCamera.h" #include "Lights.h" @@ -1655,7 +1654,7 @@ { v28 = &std__vector_000004[*i]; if ( !DrawLightmap(v28, &arg4, 0.0) ) - assert(false && "Invalid lightmap detected!"); + Error("Invalid lightmap detected! (%u)", *i); } } else