From 2ee3f96340adc9981559c07f0bb661d96028f5a4 Mon Sep 17 00:00:00 2001 From: yvt Date: Thu, 8 May 2014 02:58:41 +0900 Subject: [PATCH] Fixed to compile without NDEBUG --- Sources/Client/SmokeSpriteEntity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Client/SmokeSpriteEntity.cpp b/Sources/Client/SmokeSpriteEntity.cpp index 0303b279..014def90 100644 --- a/Sources/Client/SmokeSpriteEntity.cpp +++ b/Sources/Client/SmokeSpriteEntity.cpp @@ -53,10 +53,10 @@ namespace spades{ Type type){ Load(r); if(type == Type::Steady) { - SPAssert(fId >= 0 && fId < 180); + SPAssert(i >= 0 && i < 180); return lastSeq[i]; } else { - SPAssert(fId >= 0 && fId < 48); + SPAssert(i >= 0 && i < 48); return lastSeq2[i]; } }