summaryrefslogtreecommitdiff
path: root/src/d/d_mesg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_mesg.cpp')
-rw-r--r--src/d/d_mesg.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/d/d_mesg.cpp b/src/d/d_mesg.cpp
index a92cf701..61edbd79 100644
--- a/src/d/d_mesg.cpp
+++ b/src/d/d_mesg.cpp
@@ -624,7 +624,7 @@ bool dMesg_tSequenceProcessor::do_tag(u32 param_1, const void* param_2, u32 para
}
}
break;
- case 0x10000:
+ case 0x10000: {
u16 r24 = param_1 & 0xFFFF;
s8 tmp = dComIfGp_getReverb(dComIfGp_roomControl_getStayNo());
if (r24 == 8) {
@@ -634,6 +634,7 @@ bool dMesg_tSequenceProcessor::do_tag(u32 param_1, const void* param_2, u32 para
}
r29 = true;
break;
+ }
case 0x20000:
dComIfGp_setMesgCameraTagInfo(u16(param_1));
r29 = true;
@@ -1552,7 +1553,8 @@ void dMesg_screenDataItem_c::createScreen() {
J2DPane* pane = field_0x1b4.pane;
f32 y = (field_0x1b4.mSize.y * 0.5f + pane->mScreenBounds.i.y - 240.0f) - 10.0f;
f32 x = (field_0x1b4.mSize.x * 0.5f + pane->mScreenBounds.i.x - 320.0f) + 10.0f;
- field_0x3e4 = dComIfGp_particle_set2Dfore(0x2e1, &cXyz(x, y, 0.0f));
+ cXyz pos(x, y, 0.0f);
+ field_0x3e4 = dComIfGp_particle_set2Dfore(0x2e1, &pos);
}
}