- handled approx. half of all cases where the address of level is taken.
This commit is contained in:
parent
b4acb857ad
commit
648e472744
38 changed files with 122 additions and 128 deletions
|
|
@ -1330,7 +1330,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, CheckSight, P_CheckSight)
|
|||
|
||||
static void GiveSecret(AActor *self, bool printmessage, bool playsound)
|
||||
{
|
||||
P_GiveSecret(&level, self, printmessage, playsound, -1);
|
||||
P_GiveSecret(self->Level, self, printmessage, playsound, -1);
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(AActor, GiveSecret, GiveSecret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue