Permalink
Browse files

Fix clang warning

  • Loading branch information...
1 parent 983d77d commit a0874b2244a4f9418305adbfd6fd5fc72d26652f @perim perim committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/game.cpp
View
@@ -1140,7 +1140,7 @@ static bool serializeSaveGameV33Data(PHYSFS_file* fileHandle, const SAVE_GAME_V3
|| !serializeMultiplayerGame(fileHandle, &serializeGame->sGame)
|| !serializeNetPlay(fileHandle, &serializeGame->sNetPlay)
|| !PHYSFS_writeUBE32(fileHandle, serializeGame->savePlayer)
- || !PHYSFS_write(fileHandle, serializeGame->sPName, 1, 32) == 32
+ || PHYSFS_write(fileHandle, serializeGame->sPName, 1, 32) != 32
|| !PHYSFS_writeSBE32(fileHandle, serializeGame->multiPlayer))
return false;

0 comments on commit a0874b2

Please sign in to comment.