Skip to content

Commit 4a9e82b

Browse files
author
Bart Roossien
committed
[ZH] Fixing incorrect cast (TheSuperHackers#534)
1 parent 17c4842 commit 4a9e82b

File tree

1 file changed

+1
-1
lines changed
  • GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/Drawable/Draw

1 file changed

+1
-1
lines changed

GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/Drawable/Draw/W3DModelDraw.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3332,7 +3332,7 @@ Bool W3DModelDraw::getProjectileLaunchOffset(
33323332
}
33333333
else
33343334
{
3335-
if (specificBarrelToUse < 0 || specificBarrelToUse >= static_cast<size_t>(wbvec.size()))
3335+
if (specificBarrelToUse < 0 || specificBarrelToUse >= wbvec.size())
33363336
specificBarrelToUse = 0;
33373337

33383338
if (launchPos)

0 commit comments

Comments
 (0)