mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- add back the missing secret hint notification calls for Duke/RR.
This commit is contained in:
parent
92a72cef8b
commit
3c83775273
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue