Skip to content

Commit 3a6969f

Browse files
committed
MOPixel::Draw don't skip drawing on non-drawn sim updates
1 parent 7f74d4d commit 3a6969f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Source/Entities/MOPixel.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,8 @@ void MOPixel::Update() {
222222
}
223223

224224
void MOPixel::Draw(BITMAP* targetBitmap, const Vector& targetPos, DrawMode mode, bool onlyPhysical) const {
225-
// Don't draw color if this isn't a drawing frame
226-
if (!g_TimerMan.DrawnSimUpdate() && mode == g_DrawColor) {
227-
return;
228-
}
225+
// Note: don't skip this drawing even if it's not a drawn sim update and
226+
// the DrawMode is g_DrawColor, because this might be a draw to a scene terrain.
229227

230228
int drawColor = -1;
231229

0 commit comments

Comments
 (0)