summaryrefslogtreecommitdiff
path: root/src/d/d_stage.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-14 17:06:45 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-14 17:06:45 -0400
commitc30c494a153bb10751e083b5037029e2c7e0af02 (patch)
tree8f51ed09774e06afa41317e297ba265902b5195a /src/d/d_stage.cpp
parent0f8be7a620bead23e1230825f24901ec8313694b (diff)
Some demo matches and fake inline fixes
Diffstat (limited to 'src/d/d_stage.cpp')
-rw-r--r--src/d/d_stage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_stage.cpp b/src/d/d_stage.cpp
index 37d481ad..9c9d68c0 100644
--- a/src/d/d_stage.cpp
+++ b/src/d/d_stage.cpp
@@ -2392,19 +2392,19 @@ void dStage_turnRestart() {
dKy_set_nexttime(nextTime);
}
+#if VERSION > VERSION_DEMO
/* 80043BD0-80043C84 .text dStage_escapeRestart__Fv */
void dStage_escapeRestart() {
daPy_lk_c* player_p = daPy_getPlayerLinkActorClass();
- dComIfGs_setTurnRestart(player_p->current.pos, player_p->shape_angle.y,
- fopAcM_GetRoomNo(player_p), player_p->getDayNightParamData());
+ dComIfGs_setTurnRestart(player_p->current.pos, player_p->shape_angle.y, fopAcM_GetRoomNo(player_p), player_p->getDayNightParamData());
if (dComIfG_getTimerMode() == 3) {
dComIfG_TimerDeleteRequest();
}
- dComIfGp_setNextStage(dComIfGp_getStartStageName(), -3, dComIfGs_getTurnRestartRoomNo(), -1,
- 0.0f, 0, FALSE, 9);
+ dComIfGp_setNextStage(dComIfGp_getStartStageName(), -3, dComIfGs_getTurnRestartRoomNo(), -1, 0.0f, 0, FALSE, 9);
}
+#endif
/* 80043C84-80043CD0 .text dStage_checkRestart__Fv */
BOOL dStage_checkRestart() {