[Scummvm-git-logs] scummvm master -> f4c3360d6ba34bb1298239e69ac8da2dc8dc7873

bluegr noreply at scummvm.org
Wed Dec 25 15:23:15 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f4c3360d6b JANITORIAL: ICB: Fix typos


Commit: f4c3360d6ba34bb1298239e69ac8da2dc8dc7873
    https://github.com/scummvm/scummvm/commit/f4c3360d6ba34bb1298239e69ac8da2dc8dc7873
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-12-25T17:23:12+02:00

Commit Message:
JANITORIAL: ICB: Fix typos

Changed paths:
    engines/icb/barriers.cpp
    engines/icb/player.cpp


diff --git a/engines/icb/barriers.cpp b/engines/icb/barriers.cpp
index 8bef07d037e..d2c68a18d0b 100644
--- a/engines/icb/barriers.cpp
+++ b/engines/icb/barriers.cpp
@@ -81,7 +81,7 @@ __barrier_result _game_session::Check_barrier_bump_and_bounce(PXreal newx, PXrea
 	RouteBarrier *bar;
 	PXreal pdist, dist;
 	uint32 j;
-	PXfloat barrier_tolerance = BARRIER_TOLERANCE; // 1/8 of a turn = 45 degress
+	PXfloat barrier_tolerance = BARRIER_TOLERANCE; // 1/8 of a turn = 45 degrees
 	PXfloat diff;
 	int32 ignoreThis;
 
@@ -422,7 +422,7 @@ __barrier_result _game_session::Check_barrier_bump_and_bounce(PXreal newx, PXrea
 __barrier_result _game_session::Check_this_barrier(RouteBarrier *bar, PXreal newx, PXreal newz, PXreal /* oldx */, PXreal /* oldz */, PXreal bar_close, int32 *ignoreThis) {
 	PXfloat delta;
 	PXfloat delta2;
-	PXfloat barrier_tolerance = BARRIER_TOLERANCE; // 1/8 of a turn = 45 degress
+	PXfloat barrier_tolerance = BARRIER_TOLERANCE; // 1/8 of a turn = 45 degrees
 	PXreal pdist, dist;
 	PXreal ignore_bar_close = IGNORE_BARRIER_CLOSE;
 
diff --git a/engines/icb/player.cpp b/engines/icb/player.cpp
index 347e9735381..fe20e4fd83e 100644
--- a/engines/icb/player.cpp
+++ b/engines/icb/player.cpp
@@ -3153,7 +3153,7 @@ void _game_session::Restart_player() {
 
 	var_num = CGameObject::GetVariable(ob, "state");
 	if (var_num == -1)
-		Fatal_error("Restart_player cant fetch state");
+		Fatal_error("Restart_player can't fetch state");
 	CGameObject::SetIntegerVariable(ob, var_num, 0); // alive
 
 	var_num = CGameObject::GetVariable(ob, "hits");




More information about the Scummvm-git-logs mailing list