Deprecate the camera scanner effect and print a warning when it's used

This commit is contained in:
MascaraSnake 2020-04-26 18:42:31 +02:00
parent 82bf72f5e1
commit fb1746e95b
1 changed files with 2 additions and 0 deletions

View File

@ -6156,6 +6156,8 @@ static inline void P_AddCameraScanner(sector_t *sourcesec, sector_t *actionsecto
{
elevator_t *elevator; // Why not? LOL
CONS_Alert(CONS_WARNING, M_GetText("Detected a camera scanner effect (linedef type 5). This effect is deprecated and will be removed in the future!\n"));
// create and initialize new elevator thinker
elevator = Z_Calloc(sizeof (*elevator), PU_LEVSPEC, NULL);
P_AddThinker(THINK_MAIN, &elevator->thinker);