SAGA2: Fix rest of the non-global-constructor warnings

This commit is contained in:
Eugene Sandulenko 2021-06-23 14:16:08 +02:00
parent e90a71d2fd
commit 44c4ad38e9
No known key found for this signature in database
GPG key ID: 014D387312D34F08
12 changed files with 43 additions and 106 deletions

View file

@ -2313,8 +2313,7 @@ uint16 GameObject::totalContainedBulk(void) {
GameWorld::GameWorld(int16 map) {
Common::SeekableReadStream *stream;
if (stream = loadResourceToStream(tileRes, MKTAG('M', 'A', 'P', (char)map),
"game map")) {
if ((stream = loadResourceToStream(tileRes, MKTAG('M', 'A', 'P', (char)map), "game map"))) {
int16 mapSize; // Size of map in MetaTiles
mapSize = stream->readUint16LE();