- add back the missing secret hint notification calls for Duke/RR.

This commit is contained in:
Christoph Oelckers 2020-12-01 12:52:49 +01:00
parent 92a72cef8b
commit 3c83775273
2 changed files with 4 additions and 0 deletions

View file

@ -38,6 +38,7 @@ source as it is released.
#include "names_d.h" #include "names_d.h"
#include "mapinfo.h" #include "mapinfo.h"
#include "dukeactor.h" #include "dukeactor.h"
#include "secrets.h"
// PRIMITIVE // PRIMITIVE
BEGIN_DUKE_NS BEGIN_DUKE_NS
@ -1505,6 +1506,7 @@ void checksectors_d(int snum)
sector[p->cursectnum].lotag = 0; sector[p->cursectnum].lotag = 0;
FTA(9, p); FTA(9, p);
p->secret_rooms++; p->secret_rooms++;
SECRET_Trigger(p->cursectnum);
return; return;
case -1: case -1:
sector[p->cursectnum].lotag = 0; sector[p->cursectnum].lotag = 0;

View file

@ -32,6 +32,7 @@ Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms
#include "names_r.h" #include "names_r.h"
#include "mapinfo.h" #include "mapinfo.h"
#include "dukeactor.h" #include "dukeactor.h"
#include "secrets.h"
// PRIMITIVE // PRIMITIVE
BEGIN_DUKE_NS BEGIN_DUKE_NS
@ -2449,6 +2450,7 @@ void checksectors_r(int snum)
sector[p->cursectnum].lotag = 0; sector[p->cursectnum].lotag = 0;
FTA(9, p); FTA(9, p);
p->secret_rooms++; p->secret_rooms++;
SECRET_Trigger(p->cursectnum);
return; return;
case -1: case -1:
sector[p->cursectnum].lotag = 0; sector[p->cursectnum].lotag = 0;