Mercurial > mm7
diff CShow.h @ 1545:c4ab816fcc5e
assert, Abortf, AbortWithError -> Assert, Error
refactors here and there
author | Nomad |
---|---|
date | Sat, 07 Sep 2013 20:05:20 +0200 |
parents | 934074e7fcc1 |
children | ca548138d6aa |
line wrap: on
line diff
--- a/CShow.h Sat Sep 07 15:20:57 2013 +0200 +++ b/CShow.h Sat Sep 07 20:05:20 2013 +0200 @@ -1,5 +1,6 @@ #pragma once #include "VideoPlayer.h" +#include "ErrorHandling.h" /* 302 */ @@ -31,7 +32,7 @@ case MOVIE_Outro: VideoPlayer::MovieLoop("end_seq1", 20, 1, 1); break; default: - assert(false && "Invalid movie requested in " __FUNCTION__); + Error("Invalid movie requested: %u", movie); break; } }