Fix TCC
This commit is contained in:
parent
09031d209d
commit
5522f03daf
6 changed files with 57 additions and 29 deletions
2
game.h
2
game.h
|
@ -922,7 +922,7 @@ int LCR_gameLoadReplay(unsigned int replayIndex)
|
|||
LCR_LOG2("map name hash matches");
|
||||
|
||||
if (LCR_gameLoadMap(mapIndex) && mapHash == LCR_currentMap.hash)
|
||||
return LCR_replayValidate() ? mapIndex : -3;
|
||||
return LCR_replayValidate() ? (int) mapIndex : -3;
|
||||
else
|
||||
{
|
||||
LCR_LOG2("bad map");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue