[Scummvm-git-logs] scummvm master -> 674e0ad0bc2c91cf3a453f2e684c48e22eb208a9
mduggan
mgithub at guarana.org
Sat Sep 26 03:41:05 UTC 2020
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:
674e0ad0bc TINSEL: Remove field initializer from Cursor
Commit: 674e0ad0bc2c91cf3a453f2e684c48e22eb208a9
https://github.com/scummvm/scummvm/commit/674e0ad0bc2c91cf3a453f2e684c48e22eb208a9
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2020-09-26T12:40:11+09:00
Commit Message:
TINSEL: Remove field initializer from Cursor
It's initialized in the constructor anyway, and some compilers don't like it.
Changed paths:
engines/tinsel/cursor.h
diff --git a/engines/tinsel/cursor.h b/engines/tinsel/cursor.h
index 3c1aa1d44e..750058dfc5 100644
--- a/engines/tinsel/cursor.h
+++ b/engines/tinsel/cursor.h
@@ -110,7 +110,9 @@ private:
int _numTrails;
int _nextTrail;
- short _auxCursorOffsetX = 0, _auxCursorOffsetY; // Auxillary cursor image's animation offsets
+ // Auxillary cursor image's animation offsets
+ short _auxCursorOffsetX;
+ short _auxCursorOffsetY;
struct {
ANIM trailAnim; // Animation structure
More information about the Scummvm-git-logs
mailing list