[Scummvm-git-logs] scummvm master -> 67bbf44b6cdf540814ca6ff49ba9b1faea5c338c

neuromancer noreply at scummvm.org
Mon Nov 15 18:42:14 UTC 2021


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:
67bbf44b6c HYPNO: fixed uninitialized values in ox and oy


Commit: 67bbf44b6cdf540814ca6ff49ba9b1faea5c338c
    https://github.com/scummvm/scummvm/commit/67bbf44b6cdf540814ca6ff49ba9b1faea5c338c
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2021-11-15T19:42:06+01:00

Commit Message:
HYPNO: fixed uninitialized values in ox and oy

Changed paths:
    engines/hypno/spider/arcade.cpp


diff --git a/engines/hypno/spider/arcade.cpp b/engines/hypno/spider/arcade.cpp
index d33c0f8c73..7b389ec06e 100644
--- a/engines/hypno/spider/arcade.cpp
+++ b/engines/hypno/spider/arcade.cpp
@@ -58,8 +58,8 @@ void SpiderEngine::drawShoot(const Common::Point &target) {
 }
 
 void SpiderEngine::drawPlayer() {
-	uint32 ox;
-	uint32 oy;
+	uint32 ox = 0;
+	uint32 oy = 0;
 
 	if (_arcadeMode == "YC") {
 		ox = 0;




More information about the Scummvm-git-logs mailing list