File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -3199,6 +3199,11 @@ void the_game(
3199
3199
3200
3200
smgr->drawAll (); // 'smgr->drawAll();' may go here
3201
3201
3202
+ driver->setTransform (video::ETS_WORLD, core::IdentityMatrix);
3203
+
3204
+ if (show_hud)
3205
+ hud.drawSelectionBoxes (hilightboxes);
3206
+
3202
3207
3203
3208
// Right eye...
3204
3209
irr::core::vector3df rightEye;
@@ -3223,6 +3228,11 @@ void the_game(
3223
3228
3224
3229
smgr->drawAll (); // 'smgr->drawAll();' may go here
3225
3230
3231
+ driver->setTransform (video::ETS_WORLD, core::IdentityMatrix);
3232
+
3233
+ if (show_hud)
3234
+ hud.drawSelectionBoxes (hilightboxes);
3235
+
3226
3236
3227
3237
// driver->endScene();
3228
3238
@@ -3251,9 +3261,11 @@ void the_game(
3251
3261
driver->setMaterial (m);
3252
3262
3253
3263
driver->setTransform (video::ETS_WORLD, core::IdentityMatrix);
3254
-
3255
- if (show_hud)
3264
+ if ((!g_settings-> getBool ( " anaglyph " )) && (show_hud))
3265
+ {
3256
3266
hud.drawSelectionBoxes (hilightboxes);
3267
+ }
3268
+
3257
3269
/*
3258
3270
Wielded tool
3259
3271
*/
You can’t perform that action at this time.
0 commit comments