From 43c41d904dcf513a872c42037276f248c125f9ec Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 8 Jun 2024 16:46:44 -0400 Subject: [PATCH] Match code --- LEGO1/lego/legoomni/src/entity/act2policestation.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/entity/act2policestation.cpp b/LEGO1/lego/legoomni/src/entity/act2policestation.cpp index 83027836..728b0441 100644 --- a/LEGO1/lego/legoomni/src/entity/act2policestation.cpp +++ b/LEGO1/lego/legoomni/src/entity/act2policestation.cpp @@ -12,9 +12,10 @@ DECOMP_SIZE_ASSERT(Act2PoliceStation, 0x68) MxLong Act2PoliceStation::Notify(MxParam& p_param) { if (((MxNotificationParam&) p_param).GetType() == c_notificationClick) { - NotificationManager()->Send(CurrentWorld(), MxNotificationParam(c_notificationType23, NULL)); + MxNotificationParam param(c_notificationType23, NULL); + NotificationManager()->Send(CurrentWorld(), param); return 1; } - return -1; + return 0; }